From: David Sarrut Date: Fri, 18 Nov 2011 15:53:06 +0000 (+0100) Subject: Add Depth options X-Git-Tag: v1.3.0~104^2~33 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=ab206a7a4b46ce4289cf26690114e84b215e5a83;p=clitk.git Add Depth options --- diff --git a/vv/vvStructureSetActor.cxx b/vv/vvStructureSetActor.cxx index 7fcfb01..b7860d3 100644 --- a/vv/vvStructureSetActor.cxx +++ b/vv/vvStructureSetActor.cxx @@ -103,7 +103,7 @@ void vvStructureSetActor::CreateNewROIActor(int n, bool modeBG) actor->SetBGMode(modeBG); actor->SetROI(roi); actor->SetSlicerManager(mSlicerManager); - actor->Initialize(); + actor->Initialize(n+1); // depth is n+1 to start at 1 mMapROIIndex[n] = mROIActors.size()-1; } //------------------------------------------------------------------------------