]> Creatis software - clitk.git/commitdiff
Vivien, Simon stop watching these logs !
authordsarrut <dsarrut>
Tue, 22 Feb 2011 07:08:15 +0000 (07:08 +0000)
committerdsarrut <dsarrut>
Tue, 22 Feb 2011 07:08:15 +0000 (07:08 +0000)
common/clitkFilterBase.cxx

index bea1b15043279698e432decfe8caa6d1dcd52dff..7a089be39d8814f535342b9ecdf7da63a42ae65e 100644 (file)
@@ -114,6 +114,8 @@ void clitk::FilterBase::StopSubStep() {
   int s = m_SubstepNumbers.back();
   m_SubstepNumbers.pop_back();
   SetCurrentStepNumber(s);
-  SetCurrentStepBaseId(m_SubstepID.back());
   m_SubstepID.pop_back();
+  if (m_SubstepID.size() != 0) {
+    SetCurrentStepBaseId(m_SubstepID.back());  }
+  else SetCurrentStepBaseId("");
 }