]> Creatis software - clitk.git/commitdiff
Do not change visilibity of actors when changing renderer drawing action
authorSimon Rit <simon.rit@creatis.insa-lyon.fr>
Mon, 30 May 2011 15:44:19 +0000 (17:44 +0200)
committerSimon Rit <simon.rit@creatis.insa-lyon.fr>
Mon, 30 May 2011 15:44:19 +0000 (17:44 +0200)
vv/vvSlicer.cxx

index d934d264fd382d22759bab20a2d3d478c457dcf1..22f0eedae4f55b95b38f306ab0838aefd0114b7a 100644 (file)
@@ -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();
 }