From 254916e769574c5220acfeb0de721abbbf7a3f85 Mon Sep 17 00:00:00 2001 From: ouv Date: Tue, 16 Jun 2009 10:55:01 +0000 Subject: [PATCH] Fix of 0020383: EDF 1049 VISU : DisplayOnly, EraseAll, ...do not work with Python --- src/LightApp/LightApp_Application.cxx | 2 ++ 1 file changed, 2 insertions(+) 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, -- 2.39.2