From 30d4ff1f4315979b5f33b0e7393622e6092e9a98 Mon Sep 17 00:00:00 2001 From: Romulo Pinho Date: Thu, 26 May 2011 13:15:49 +0200 Subject: [PATCH] solved bug 317 --- vv/vvSlicer.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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]); + } } //---------------------------------------------------------------------------- -- 2.47.1