From: David Sarrut Date: Thu, 29 Sep 2011 05:25:27 +0000 (+0200) Subject: small bug (current step number) X-Git-Tag: v1.3.0~211 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=28824c52796db574817d6878decd0089cd64edb8;p=clitk.git small bug (current step number) --- diff --git a/segmentation/clitkStructuresExtractionFilter.txx b/segmentation/clitkStructuresExtractionFilter.txx index 761138e..1562bea 100644 --- a/segmentation/clitkStructuresExtractionFilter.txx +++ b/segmentation/clitkStructuresExtractionFilter.txx @@ -73,8 +73,8 @@ ApplyRelativePositionList(std::string name, MaskImageType * input) relpos->SetInput(input); relpos->Update(); input = relpos->GetOutput(); + SetCurrentStepNumber(relpos->GetCurrentStepNumber()); } - SetCurrentStepNumber(relpos->GetCurrentStepNumber()); return input; } //--------------------------------------------------------------------