]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/manualContour/manualViewBaseContour.cpp
#3404 creaMaracasVisu Feature New Normal - vtk8itk5wx3-macos
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / manualContour / manualViewBaseContour.cpp
index 47b19a033d802a515087015598f727e703e940fd..9e394c065b74c3ce4d7d795e80bb9135e3de138a 100644 (file)
@@ -314,12 +314,12 @@ void manualViewBaseContour::ConstructVTKObjects()
 //EED 2017-01-01 Migration VTK7
 #if VTK_MAJOR_VERSION <= 5
        _bboxMapper->SetInput(_pd);
+       _bboxMapper->ImmediateModeRenderingOn();
 #else
        _bboxMapper->SetInputData(_pd);
 #endif
 
 
-       _bboxMapper->ImmediateModeRenderingOn();
        _contourVtkActor->SetMapper(_bboxMapper);
        _contourVtkActor->GetProperty()->BackfaceCullingOff();