From 97e54c22bb94162d1ec7a7a05c4041828db592e4 Mon Sep 17 00:00:00 2001 From: tbaudier Date: Tue, 1 Dec 2015 14:10:02 +0100 Subject: [PATCH] ROI Debug Add AllVisibleContourROIToggled(true) to avoid contour freezing after initialization --- vv/vvToolROIManager.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); -- 2.47.1