From e4ecf9ce96a61b5447f0d010992ae15df5da5dfd Mon Sep 17 00:00:00 2001 From: Simon Rit Date: Mon, 30 May 2011 17:44:19 +0200 Subject: [PATCH] Do not change visilibity of actors when changing renderer drawing action --- vv/vvSlicer.cxx | 5 ----- 1 file changed, 5 deletions(-) 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(); } -- 2.47.1