]> Creatis software - clitk.git/commitdiff
Remove Update for ROI and Contours Actors
authortbaudier <thomas.baudier@creatis.insa-lyon.fr>
Tue, 5 Jul 2016 08:41:50 +0000 (10:41 +0200)
committertbaudier <thomas.baudier@creatis.insa-lyon.fr>
Tue, 5 Jul 2016 08:41:50 +0000 (10:41 +0200)
Seems to slow down the process after clicking on Set All ROI visible and Set All Contours Visible

vv/vvROIActor.cxx

index cfb965d5227f9e9e2a3992373f71e4a8bdc532ac..0a83e50d119a25f6239ff3b07c9857f2c0a87964 100644 (file)
@@ -121,7 +121,7 @@ void vvROIActor::SetVisible(bool b)
     for(unsigned int i= 0; i<mOverlayActors.size(); i++)
       mOverlayActors[i]->ShowActors();
   }
-  Update(); // No Render
+  //Update(); // No Render
 }
 //------------------------------------------------------------------------------
 
@@ -140,7 +140,7 @@ void vvROIActor::SetContourVisible(bool b)
       mImageContour[i]->ShowActors();
     }
   }
-  Update(); // No Render
+  //Update(); // No Render
 }
 //------------------------------------------------------------------------------