From: ouv Date: Tue, 16 Jun 2009 10:55:01 +0000 (+0000) Subject: Fix of 0020383: EDF 1049 VISU : DisplayOnly, EraseAll, ...do not work with Python X-Git-Tag: V5_1_2rc3~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=254916e769574c5220acfeb0de721abbbf7a3f85;p=modules%2Fgui.git Fix of 0020383: EDF 1049 VISU : DisplayOnly, EraseAll, ...do not work with Python --- diff --git a/src/LightApp/LightApp_Application.cxx b/src/LightApp/LightApp_Application.cxx index 5f5a86d73..1c4e5c28a 100644 --- a/src/LightApp/LightApp_Application.cxx +++ b/src/LightApp/LightApp_Application.cxx @@ -1958,6 +1958,7 @@ void LightApp_Application::createPreferences( LightApp_Preferences* pref ) pref->addPreference( tr( "PREF_PROGRESSIVE" ), vtkRec, LightApp_Preferences::Bool, "VTKViewer", "recorder_progressive" ); +#ifdef FEATURE_19818 int vtkGN = pref->addPreference( tr( "PREF_FRAME_GROUP_NAMES" ), vtkGroup, LightApp_Preferences::GroupBox, "VTKViewer", "show_group_names" ); pref->setItemProperty( "columns", 2, vtkGN ); @@ -1970,6 +1971,7 @@ void LightApp_Application::createPreferences( LightApp_Preferences* pref ) pref->setItemProperty( "min", 0.0, transPref ); pref->setItemProperty( "max", 1.0, transPref ); pref->setItemProperty( "step", 0.1, transPref ); +#endif // Plot2d pref->addPreference( tr( "PREF_SHOW_LEGEND" ), plot2dGroup,