]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Modification for Win32 version.
authornds <nds@opencascade.com>
Thu, 3 May 2007 07:56:32 +0000 (07:56 +0000)
committernds <nds@opencascade.com>
Thu, 3 May 2007 07:56:32 +0000 (07:56 +0000)
src/GEOMGUI/GEOM_Displayer.cxx

index d131700199cdaa81ef23d8adc203cd0631a3962d..b0fd38adc342b73c55dc6325e23e24c32f0a35e0 100644 (file)
@@ -1214,6 +1214,8 @@ int GEOM_Displayer::GetDisplayMode() const
 
 int GEOM_Displayer::UnsetDisplayMode()
 {
+  int aPrevMode = myDisplayMode;
   SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr();
   myDisplayMode = resMgr->integerValue( "Geometry", "display_mode", 0 );
+  return aPrevMode;
 }