mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-18 17:50:40 +05:00
Correct mistake in integration of 0020082
This commit is contained in:
parent
16d202d4d6
commit
255d788311
@ -469,6 +469,16 @@ int DisplayGUI::GetVectorMode( SUIT_ViewWindow* viewWindow )
|
||||
return viewWindow->getCustomData( "VectorsMode" ).toBool();
|
||||
}
|
||||
|
||||
//=====================================================================================
|
||||
// function : DisplayGUI::InvertDisplayMode()
|
||||
// purpose : Invert display mode ( shadin <-> wireframe ) for the viewer
|
||||
// (current viewer if <viewWindow> = 0 )
|
||||
//=====================================================================================
|
||||
void DisplayGUI::InvertDisplayMode( SUIT_ViewWindow* viewWindow )
|
||||
{
|
||||
SetDisplayMode( 1 - GetDisplayMode( viewWindow ) );
|
||||
}
|
||||
|
||||
//=====================================================================================
|
||||
// function : DisplayGUI::ChangeDisplayMode()
|
||||
// purpose : Set display mode for selected objects in the viewer given
|
||||
|
Loading…
Reference in New Issue
Block a user