From: tbaudier Date: Wed, 18 May 2016 08:39:39 +0000 (+0200) Subject: Debug ROI display X-Git-Tag: v1.4.0~24 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=46d6314164abf444b420f07539b8f7cbd817f88e;p=clitk.git Debug ROI display if contour display was checked and ROI unchecked, the ROI was displayed Now just contours are displayed --- diff --git a/vv/vvROIActor.cxx b/vv/vvROIActor.cxx index 52ddea5..cfb965d 100644 --- a/vv/vvROIActor.cxx +++ b/vv/vvROIActor.cxx @@ -249,7 +249,9 @@ void vvROIActor::UpdateSlice(int slicer, int slices, int force) } // Refresh overlays - mOverlayActors[slicer]->UpdateSlice(slicer, slices, force); + if (mIsVisible) { + mOverlayActors[slicer]->UpdateSlice(slicer, slices, force); + } mSlicerManager->GetSlicer(slicer)->Render(); } //------------------------------------------------------------------------------