]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix of 0020383: EDF 1049 VISU : DisplayOnly, EraseAll, ...do not work with Python
authorouv <ouv@opencascade.com>
Tue, 16 Jun 2009 10:55:01 +0000 (10:55 +0000)
committerouv <ouv@opencascade.com>
Tue, 16 Jun 2009 10:55:01 +0000 (10:55 +0000)
src/LightApp/LightApp_Application.cxx

index 5f5a86d7359e6bdcec3a644fe5df8abd53ab138d..1c4e5c28a4a626ec940452960ec0eb1a94e0b4bc 100644 (file)
@@ -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,