From 5d69d1b5730ba88b98c5b3dcc3f576d9e2857239 Mon Sep 17 00:00:00 2001 From: Simon Rit Date: Tue, 31 May 2011 15:05:17 +0200 Subject: [PATCH] SetDisplayMode only changes draw mode of renderer --- 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