From: Simon Rit Date: Mon, 30 May 2011 15:44:19 +0000 (+0200) Subject: Do not change visilibity of actors when changing renderer drawing action X-Git-Tag: v1.3.0~330^2~3 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=e4ecf9ce96a61b5447f0d010992ae15df5da5dfd;p=clitk.git Do not change visilibity of actors when changing renderer drawing action --- diff --git a/vv/vvSlicer.cxx b/vv/vvSlicer.cxx index d934d26..22f0eed 100644 --- a/vv/vvSlicer.cxx +++ b/vv/vvSlicer.cxx @@ -1052,12 +1052,7 @@ 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(); }