]> Creatis software - clitk.git/commitdiff
Replace slicer Render by a single slicermanager render
authorDavid Sarrut <david.sarrut@gmail.com>
Mon, 16 Jul 2012 14:27:12 +0000 (16:27 +0200)
committerDavid Sarrut <david.sarrut@gmail.com>
Mon, 16 Jul 2012 14:27:12 +0000 (16:27 +0200)
vv/vvToolROIManager.cxx

index 8b0a48753671fc735e6cfed736dae8d62bfda1d1..645941cb4fd3a8555a980c42db12fb3fba0a7486 100644 (file)
@@ -491,9 +491,7 @@ void vvToolROIManager::UpdateAllContours()
   for(unsigned int i=0; i<mROIList.size(); i++) {
     mROIActorsList[i]->Update();
   }
-  for(int i=0; i<mCurrentSlicerManager->GetNumberOfSlicers(); i++) {
-    mCurrentSlicerManager->GetSlicer(i)->Render();
-  }
+  mCurrentSlicerManager->Render();
 }
 //------------------------------------------------------------------------------