]> Creatis software - clitk.git/commitdiff
ROI Debug
authortbaudier <thomas.baudier@etu.unistra.fr>
Tue, 1 Dec 2015 13:10:02 +0000 (14:10 +0100)
committertbaudier <thomas.baudier@etu.unistra.fr>
Tue, 1 Dec 2015 13:10:02 +0000 (14:10 +0100)
Add AllVisibleContourROIToggled(true) to avoid contour freezing after initialization

vv/vvToolROIManager.cxx

index dae901bc09dcc4c036f44956af8f097604422f34..ef83846510c33683d403359b41169ec11456dee3 100644 (file)
@@ -467,7 +467,8 @@ void vvToolROIManager::AddImage(vvImage * binaryImage,
   // CheckBox for "All"
   if (actor->IsVisible()) mNumberOfVisibleROI++;
   if (actor->IsContourVisible()) mNumberOfVisibleContourROI++;
-
+  AllVisibleContourROIToggled(true);
+  
   // Add ROI in tree
   mTreeWidgetList.push_back(QSharedPointer<QTreeWidgetItem>(new QTreeWidgetItem(mTree)));
   QTreeWidgetItem * w = mTreeWidgetList.back().data();