From 202b2e697050ba94b9b6b13193b9c1907f746646 Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Wed, 4 Jan 2023 15:28:06 +0100 Subject: [PATCH] #3498 Bug transparence axis ViewerNV --- .../src/interface/wxWindows/widgets/vtkBaseData.cxx | 2 +- .../interface/wxWindows/widgets/wxVtkMPR3DViewCntrlPanel.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkBaseData.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkBaseData.cxx index 6d8ac9a..b911468 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkBaseData.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkBaseData.cxx @@ -33,7 +33,7 @@ vtkBaseData::vtkBaseData() _marImageData = 0; _interpolate = true; _fixAxis2D = false; - _opacityAxis = 1.0; + _opacityAxis = 0.99; // EED 2023-01-04 Not 1.0 conflict with the viewer in windows _observable = vtkObject::New(); _cameraparallelScale = 100.0; _pointMouseX = 0; diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR3DViewCntrlPanel.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR3DViewCntrlPanel.cxx index 1c01913..1982938 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR3DViewCntrlPanel.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR3DViewCntrlPanel.cxx @@ -62,7 +62,7 @@ wxVtkMPR3DViewCntrlPanel::wxVtkMPR3DViewCntrlPanel(wxWindow *parent, wxVtkMPR3DV _ckBoxXYZ = new wxCheckBox(panel,-1,_T("3D Axis ")); _ckBoxFixAxis2D = new wxCheckBox(panel,-1,_T("2D Fix Axis")); - _opacityAxis = new wxSlider(panel,-1,100,0,100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL | wxSL_LABELS); + _opacityAxis = new wxSlider(panel,-1,99,0,100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL | wxSL_LABELS); _ckBoxPlane = new wxCheckBox(panel,-1,_T("Plane")); ////EED 05Nov2012 _ckBox_BW_Color_Plane = new wxCheckBox(panel,-1,_T("GL/Color")); -- 2.47.1