From 5022be6683016e4924ab4a1771dfc5c5748595b6 Mon Sep 17 00:00:00 2001 From: Simon Rit Date: Mon, 30 May 2011 19:15:02 +0200 Subject: [PATCH] Undo previous change: the visibility has to change for correct interaction --- vv/vvSlicer.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vv/vvSlicer.cxx b/vv/vvSlicer.cxx index 22f0eed..d934d26 100644 --- a/vv/vvSlicer.cxx +++ b/vv/vvSlicer.cxx @@ -1052,7 +1052,12 @@ void vvSlicer::ResetCamera() //---------------------------------------------------------------------------- void vvSlicer::SetDisplayMode(bool i) { + this->GetImageActor()->SetVisibility(i); + this->GetAnnotation()->SetVisibility(i); this->GetRenderer()->SetDraw(i); + if (mLandActor) + mLandActor->SetVisibility(i); + pdmA->SetVisibility(i); if (i) UpdateDisplayExtent(); } -- 2.47.1