]> Creatis software - clitk.git/commitdiff
Undo previous change: the visibility has to change for correct
authorSimon Rit <simon.rit@creatis.insa-lyon.fr>
Mon, 30 May 2011 17:15:02 +0000 (19:15 +0200)
committerSimon Rit <simon.rit@creatis.insa-lyon.fr>
Mon, 30 May 2011 17:15:02 +0000 (19:15 +0200)
interaction

vv/vvSlicer.cxx

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