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 );
<!-- 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 -->
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"
<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 -->