From: tbaudier Date: Tue, 1 Dec 2015 13:10:02 +0000 (+0100) Subject: ROI Debug X-Git-Tag: v1.4.0~90^2~4 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=97e54c22bb94162d1ec7a7a05c4041828db592e4;p=clitk.git ROI Debug Add AllVisibleContourROIToggled(true) to avoid contour freezing after initialization --- diff --git a/vv/vvToolROIManager.cxx b/vv/vvToolROIManager.cxx index dae901b..ef83846 100644 --- a/vv/vvToolROIManager.cxx +++ b/vv/vvToolROIManager.cxx @@ -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(new QTreeWidgetItem(mTree))); QTreeWidgetItem * w = mTreeWidgetList.back().data();