From 8913649f72b78d845ada8b6da86ee00aac3b3903 Mon Sep 17 00:00:00 2001 From: ouv Date: Mon, 30 Jun 2008 10:10:12 +0000 Subject: [PATCH] "Info Window Enabled", "Camera Movement Enabled" parameters have been set to "true", "Info Window Position" - to "Top Left Corner" --- resources/SalomeApp.xml | 6 +++--- src/OBJECT/VISU_PickingSettings.cxx | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/resources/SalomeApp.xml b/resources/SalomeApp.xml index 1c2049a3..21d28a2e 100644 --- a/resources/SalomeApp.xml +++ b/resources/SalomeApp.xml @@ -125,10 +125,10 @@ - + - - + + diff --git a/src/OBJECT/VISU_PickingSettings.cxx b/src/OBJECT/VISU_PickingSettings.cxx index ae295653..982f5c1d 100644 --- a/src/OBJECT/VISU_PickingSettings.cxx +++ b/src/OBJECT/VISU_PickingSettings.cxx @@ -47,11 +47,11 @@ VISU_PickingSettings* VISU_PickingSettings::Get() aPickingSettings->SetPointTolerance( aResourceMgr->doubleValue( "VISU", "picking_point_tolerance", 0.1 ) ); aPickingSettings->SetInfoWindowEnabled( aResourceMgr->booleanValue( "VISU", "picking_info_window", false ) ); aPickingSettings->SetInfoWindowTransparency( aResourceMgr->integerValue( "VISU", "picking_transparency", 50 ) / 100.0 ); - aPickingSettings->SetInfoWindowPosition( aResourceMgr->integerValue( "VISU", "picking_position", VISU_PickingSettings::BelowPoint ) ); - aPickingSettings->SetCameraMovementEnabled( aResourceMgr->booleanValue( "VISU", "picking_camera_movement", false ) ); + aPickingSettings->SetInfoWindowPosition( aResourceMgr->integerValue( "VISU", "picking_position", VISU_PickingSettings::TopLeftCorner ) ); + aPickingSettings->SetCameraMovementEnabled( aResourceMgr->booleanValue( "VISU", "picking_camera_movement", true ) ); aPickingSettings->SetZoomFactor( aResourceMgr->doubleValue( "VISU", "picking_zoom_factor", 1.5 ) ); aPickingSettings->SetStepNumber( aResourceMgr->integerValue( "VISU", "picking_step_number", 10 ) ); - aPickingSettings->SetDisplayParentMesh( aResourceMgr->booleanValue( "VISU", "picking_display_parent_mesh", false ) ); + aPickingSettings->SetDisplayParentMesh( aResourceMgr->booleanValue( "VISU", "picking_display_parent_mesh", true ) ); QColor aSelectionColor = aResourceMgr->colorValue( "VISU", "picking_selection_color", Qt::yellow ); vtkFloatingPointType aColor[3]; -- 2.39.2