]> Creatis software - creaContours.git/blobdiff - lib/Interface_ManagerContour_NDimensions/wxVtkBaseView_SceneManager.cxx
#3322 creaContours Feature New Normal - Feference contour Befor After actual slice
[creaContours.git] / lib / Interface_ManagerContour_NDimensions / wxVtkBaseView_SceneManager.cxx
index 70fd6293e70d0924a5d4bcadadb73116dc8b625f..d70557f6aed385d7a0eb11226b3ec6b60d71cc01 100644 (file)
@@ -533,6 +533,14 @@ DEFINE_EVENT_TYPE( wxEVT_CHANGED_DEEP )
                {
                        ((vtkInteractorStyleBaseView*)_wxVtk_BaseView->GetInteractorStyleBaseView())->AddInteractorStyleMaracas( contourWRP->getControler() );
                }
+
+               if( !control )
+               {
+                       contourWRP->getViewer()->SetColorNormalContour(1,0,0);
+               } else {
+                       contourWRP->getViewer()->SetColorNormalContour(0,0,1);
+               }
+
                if( ifActive )
                {
                        contourWRP->getControler()->SetActive( true );