From: Simon Rit Date: Tue, 31 May 2011 13:05:17 +0000 (+0200) Subject: SetDisplayMode only changes draw mode of renderer X-Git-Tag: v1.3.0~330^2^2~3 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=5d69d1b5730ba88b98c5b3dcc3f576d9e2857239;p=clitk.git SetDisplayMode only changes draw mode of renderer --- 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(); }