]> Creatis software - creaMaracasVisu.git/commitdiff
#3498 Bug transparence axis ViewerNV
authorEduardo DAVILA <davila@creatis.insa-lyon.fr>
Wed, 4 Jan 2023 14:28:06 +0000 (15:28 +0100)
committerEduardo DAVILA <davila@creatis.insa-lyon.fr>
Wed, 4 Jan 2023 14:28:06 +0000 (15:28 +0100)
lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkBaseData.cxx
lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR3DViewCntrlPanel.cxx

index 6d8ac9aefb93e83a53b8fd80633c5ce71defe62e..b911468f6ccf4958960e15f314dc47a64741400d 100644 (file)
@@ -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;
index 1c019135d051bbd5a553b29107249865514d4d65..19829382278a4702a823d4003b25e6d364149c63 100644 (file)
@@ -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"));