X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvToolROIManager.cxx;h=072d3634b23a1c26129ba466fc39c0fcae88224b;hb=892efb56f79121193839cec366f46d29b9bd2427;hp=d0e74c1c877233adc2901b7b2c4e25270a81ac96;hpb=3750a66140f2bce96943760132383b368178671d;p=clitk.git diff --git a/vv/vvToolROIManager.cxx b/vv/vvToolROIManager.cxx index d0e74c1..072d363 100644 --- a/vv/vvToolROIManager.cxx +++ b/vv/vvToolROIManager.cxx @@ -737,6 +737,9 @@ void vvToolROIManager::ChangeDepth(int n) { //------------------------------------------------------------------------------ void vvToolROIManager::ReloadCurrentROI() { + if (mCurrentROI->GetImage()) { + return; // do nothing (contour from rt struct do not reload) + } // Remove all contours/overlay first bool visible = mCurrentROIActor->IsVisible();