From: Simon Rit Date: Mon, 30 May 2011 17:15:02 +0000 (+0200) Subject: Undo previous change: the visibility has to change for correct X-Git-Tag: v1.3.0~330^2^2~8 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=5022be6683016e4924ab4a1771dfc5c5748595b6;p=clitk.git Undo previous change: the visibility has to change for correct interaction --- 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(); }