]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
NPAL18219 EDF 618 VISU : Regression, Lost of permformance in Vectors representation
authordmv <dmv@opencascade.com>
Mon, 19 May 2008 07:51:00 +0000 (07:51 +0000)
committerdmv <dmv@opencascade.com>
Mon, 19 May 2008 07:51:00 +0000 (07:51 +0000)
src/LightApp/LightApp_Application.cxx
src/LightApp/resources/LightApp.xml
src/LightApp/resources/LightApp_msg_en.po
src/SalomeApp/resources/SalomeApp.xml

index d69115d96d7850b570297a334aa56e20213c9843..dabd105f7033ac90e0e15f3011121ffe62244d67 100644 (file)
@@ -1944,6 +1944,7 @@ void LightApp_Application::createPreferences( LightApp_Preferences* pref )
   pref->addPreference( tr( "PREF_RELATIVE_SIZE" ), vtkGroup, LightApp_Preferences::Bool, "VTKViewer", "relative_size" );
   pref->addPreference( tr( "PREF_VIEWER_BACKGROUND" ), vtkGroup,
                       LightApp_Preferences::Color, "VTKViewer", "background" );
+  pref->addPreference( tr( "PREF_USE_ADVANCED_SELECTION_ALGORITHM" ), vtkGroup, LightApp_Preferences::Bool, "VTKViewer", "use_advanced_selection_algorithm" );
 
   pref->setItemProperty( vtkTS, "min", 1.0E-06 );
   pref->setItemProperty( vtkTS, "max", 150 );
index 16a566b965d9f0e00c04ec99eb75e7efb9405014..5bb7a2fb3d927d906ca2675c428101e3e49af552 100644 (file)
@@ -78,6 +78,8 @@
     <!-- OCC viewer preferences -->
     <parameter name="background"     value="0, 0, 0"/>
     <parameter name="trihedron_size" value="100" />
+    <parameter name="relative_size"  value="true" />
+    <parameter name="use_advanced_selection_algorithm" value="true" />
  </section>
  <section name="Plot2d" >
     <!-- Plot2d viewer preferences -->
index 340601cc76b6ccc2e9b83354a8653b75ac173c7b..aebe2b74ae746397712bd071d60c96c54ab937e1 100644 (file)
@@ -183,6 +183,9 @@ msgstr "VTK Viewer 3d"
 msgid "LightApp_Application::PREF_VIEWER_BACKGROUND"
 msgstr "Background color"
 
+msgid "LightApp_Application::PREF_USE_ADVANCED_SELECTION_ALGORITHM"
+msgstr "Use Advanced Selection Algorithm"
+
 msgid "LightApp_Application::PREF_TRIHEDRON_SIZE"
 msgstr "Trihedron size"
 
index 95368e9bceb455a9e317c69fad4ebb6d131c25fb..24dc083822136976786b79540c26d656c3f01831 100644 (file)
@@ -94,6 +94,7 @@
     <parameter name="background"     value="0, 0, 0" />
     <parameter name="trihedron_size" value="105" />
     <parameter name="relative_size"  value="true" />
+    <parameter name="use_advanced_selection_algorithm" value="true" />
  </section>
  <section name="Plot2d" >
     <!-- Plot2d viewer preferences -->