]> Creatis software - clitk.git/commitdiff
small bug (current step number)
authorDavid Sarrut <david.sarrut@creatis.insa-lyon.fr>
Thu, 29 Sep 2011 05:25:27 +0000 (07:25 +0200)
committerDavid Sarrut <david.sarrut@creatis.insa-lyon.fr>
Thu, 29 Sep 2011 05:25:27 +0000 (07:25 +0200)
segmentation/clitkStructuresExtractionFilter.txx

index 761138e7279487a5e14058ac899eb91929d57891..1562beaaf84959db30e4fee611a457975ae9f8b6 100644 (file)
@@ -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;
 }
 //--------------------------------------------------------------------