X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FLineView.cxx;h=4d49919874205c01fe7e1180e3e2feaa3d06e727;hb=15112ae15da4222831b0e8e7c9be87daf9e99a1c;hp=253fa58ab8f1e021f41c8308b5ea309b9c76b8f0;hpb=56eb704bce4e7a4206ffa16c84f3000b8b8f93eb;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/LineView.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/LineView.cxx index 253fa58..4d49919 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/LineView.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/LineView.cxx @@ -89,11 +89,11 @@ void LineView::CreateNewLine(double x1, double y1, double z1, double x2, double //EED 2017-01-01 Migration VTK7 #if VTK_MAJOR_VERSION <= 5 contour_mapped.back()->SetInput(aLineGrid); + contour_mapped.back()->ImmediateModeRenderingOn(); #else contour_mapped.back()->SetInputData(aLineGrid); #endif - contour_mapped.back()->ImmediateModeRenderingOn(); contour_actor.back()->SetMapper(contour_mapped.back()); contour_actor.back()->GetProperty()->BackfaceCullingOn();