From 1fea92ac237c16c1f027ffabdb42066f6f4f6114 Mon Sep 17 00:00:00 2001 From: dsarrut Date: Tue, 22 Feb 2011 07:08:15 +0000 Subject: [PATCH] Vivien, Simon stop watching these logs ! --- common/clitkFilterBase.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(""); } -- 2.47.1