Salome HOME
IPAL21038 : EDF 570 VISU : SurfaceFrame is not implemented in preferences
authordmv <dmv@opencascade.com>
Mon, 13 Apr 2009 08:07:53 +0000 (08:07 +0000)
committerdmv <dmv@opencascade.com>
Mon, 13 Apr 2009 08:07:53 +0000 (08:07 +0000)
src/VISUGUI/VisuGUI.cxx

index 6898111b4bffcc6ecce0e37939002aa15ec208c2..78b6396bce4d5f15e9b684ffc6456ffb7e6224bd 100644 (file)
@@ -3799,15 +3799,15 @@ void VisuGUI::createPreferences()
   addPreference( tr( "VISU_SHRINK" ), representGr, LightApp_Preferences::Bool, "VISU", "scalar_map_shrink" );
 
   int iso_surfaces_represent = addPreference( tr( "VISU_ISO_SURFACES" ), representGr, LightApp_Preferences::Selector, "VISU", "iso_surfaces_represent" );
-  setPreferenceProperty( iso_surfaces_represent, "strings", modes2 );
-  setPreferenceProperty( iso_surfaces_represent, "indexes", indices2 );
+  setPreferenceProperty( iso_surfaces_represent, "strings", modes1 );
+  setPreferenceProperty( iso_surfaces_represent, "indexes", indices1 );
   int sp = addPreference( "", representGr, LightApp_Preferences::Space );
   setPreferenceProperty( sp, "hstretch", 0 );
   setPreferenceProperty( sp, "vstretch", 0 );
 
   int cut_planes_represent = addPreference( tr( "VISU_CUT_PLANES" ), representGr, LightApp_Preferences::Selector, "VISU", "cut_planes_represent" );
-  setPreferenceProperty( cut_planes_represent, "strings", modes2 );
-  setPreferenceProperty( cut_planes_represent, "indexes", indices2 );
+  setPreferenceProperty( cut_planes_represent, "strings", modes1 );
+  setPreferenceProperty( cut_planes_represent, "indexes", indices1 );
   addPreference( "", representGr, LightApp_Preferences::Space );
 
   int cut_lines_represent = addPreference( tr( "VISU_CUT_LINES" ), representGr, LightApp_Preferences::Selector, "VISU", "cut_lines_represent" );
@@ -3837,8 +3837,8 @@ void VisuGUI::createPreferences()
   setPreferenceProperty( sp, "vstretch", 0 );
 
   int plot3d_represent = addPreference( tr( "VISU_PLOT3D" ), representGr, LightApp_Preferences::Selector, "VISU", "plot3d_represent" );
-  setPreferenceProperty( plot3d_represent, "strings", modes2 );
-  setPreferenceProperty( plot3d_represent, "indexes", indices2 );
+  setPreferenceProperty( plot3d_represent, "strings", modes1 );
+  setPreferenceProperty( plot3d_represent, "indexes", indices1 );
   sp = addPreference( "", representGr, LightApp_Preferences::Space );
   setPreferenceProperty( sp, "hstretch", 0 );
   setPreferenceProperty( sp, "vstretch", 0 );