From a604605f9cf9b08a69ee3dd271338ef7c16f7663 Mon Sep 17 00:00:00 2001 From: dmv Date: Mon, 19 May 2008 07:51:00 +0000 Subject: [PATCH] NPAL18219 EDF 618 VISU : Regression, Lost of permformance in Vectors representation --- src/LightApp/LightApp_Application.cxx | 1 + src/LightApp/resources/LightApp.xml | 2 ++ src/LightApp/resources/LightApp_msg_en.po | 3 +++ src/SalomeApp/resources/SalomeApp.xml | 1 + 4 files changed, 7 insertions(+) diff --git a/src/LightApp/LightApp_Application.cxx b/src/LightApp/LightApp_Application.cxx index d69115d96..dabd105f7 100644 --- a/src/LightApp/LightApp_Application.cxx +++ b/src/LightApp/LightApp_Application.cxx @@ -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 ); diff --git a/src/LightApp/resources/LightApp.xml b/src/LightApp/resources/LightApp.xml index 16a566b96..5bb7a2fb3 100644 --- a/src/LightApp/resources/LightApp.xml +++ b/src/LightApp/resources/LightApp.xml @@ -78,6 +78,8 @@ + +
diff --git a/src/LightApp/resources/LightApp_msg_en.po b/src/LightApp/resources/LightApp_msg_en.po index 340601cc7..aebe2b74a 100644 --- a/src/LightApp/resources/LightApp_msg_en.po +++ b/src/LightApp/resources/LightApp_msg_en.po @@ -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" diff --git a/src/SalomeApp/resources/SalomeApp.xml b/src/SalomeApp/resources/SalomeApp.xml index 95368e9bc..24dc08382 100644 --- a/src/SalomeApp/resources/SalomeApp.xml +++ b/src/SalomeApp/resources/SalomeApp.xml @@ -94,6 +94,7 @@ +
-- 2.39.2