From: Romulo Pinho Date: Thu, 26 May 2011 11:15:49 +0000 (+0200) Subject: solved bug 317 X-Git-Tag: v1.3.0~343 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=30d4ff1f4315979b5f33b0e7393622e6092e9a98;p=clitk.git solved bug 317 --- diff --git a/vv/vvSlicer.cxx b/vv/vvSlicer.cxx index 47c2afd..d73eca1 100644 --- a/vv/vvSlicer.cxx +++ b/vv/vvSlicer.cxx @@ -1345,9 +1345,12 @@ void vvSlicer::SetContourSlice() { if (mSurfaceCutActors.size() > 0) for (std::vector::iterator i=mSurfaceCutActors.begin(); - i!=mSurfaceCutActors.end(); i++) + i!=mSurfaceCutActors.end(); i++) { + + (*i)->SetSlicingOrientation(this->SliceOrientation); (*i)->SetCutSlice((this->Slice)*this->GetImage()->GetSpacing()[this->SliceOrientation]+ this->GetImage()->GetOrigin()[this->SliceOrientation]); + } } //----------------------------------------------------------------------------