X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=vv%2FvvMeshActor.cxx;h=d8741aa5448cbc1e5cff6b5b4962267d3df0ba6d;hb=8dc75d1449323b08bf7378cded6f0bec24b2016f;hp=04ea49d70e7648404654a231b750cea03eba29fd;hpb=3a823a03d4a2217e41e4dd3b05a8ea825bb762a5;p=clitk.git diff --git a/vv/vvMeshActor.cxx b/vv/vvMeshActor.cxx index 04ea49d..d8741aa 100644 --- a/vv/vvMeshActor.cxx +++ b/vv/vvMeshActor.cxx @@ -66,7 +66,7 @@ void vvMeshActor::Init(vvMesh::Pointer mesh,int time_slice,vvImage::Pointer vf) #if VTK_MAJOR_VERSION <= 5 mMapper->SetInput(mMarching->GetOutput()); #else - mMapper->SetInputData(mMarching->GetOutput()); + mMapper->SetInputConnection(mMarching->GetOutputPort()); #endif //The following line allows to display the contour over the image //(http://www.nabble.com/What-happens-when-two-actors-are-at-the-same-depth--td23175458.html)