From: dsarrut Date: Tue, 22 Feb 2011 07:08:15 +0000 (+0000) Subject: Vivien, Simon stop watching these logs ! X-Git-Tag: v1.2.0~235 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=1fea92ac237c16c1f027ffabdb42066f6f4f6114;p=clitk.git Vivien, Simon stop watching these logs ! --- diff --git a/common/clitkFilterBase.cxx b/common/clitkFilterBase.cxx index bea1b15..7a089be 100644 --- a/common/clitkFilterBase.cxx +++ b/common/clitkFilterBase.cxx @@ -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(""); }