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" );
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 );