From: dmv Date: Mon, 13 Apr 2009 08:07:53 +0000 (+0000) Subject: IPAL21038 : EDF 570 VISU : SurfaceFrame is not implemented in preferences X-Git-Tag: V5_1_main_20090514~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1c1cdedf5a7d282c1795d00450036d374c796630;p=modules%2Fvisu.git IPAL21038 : EDF 570 VISU : SurfaceFrame is not implemented in preferences --- diff --git a/src/VISUGUI/VisuGUI.cxx b/src/VISUGUI/VisuGUI.cxx index 6898111b..78b6396b 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -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 );