From: asl Date: Thu, 10 Dec 2009 13:33:35 +0000 (+0000) Subject: clear dependencies should be launched before creation of new dependencies X-Git-Tag: PHASE_17_Part1_V3~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c52ecc7d0e20d70cfc434324bdbe435a42e98d96;p=modules%2Fsmesh.git clear dependencies should be launched before creation of new dependencies --- diff --git a/src/SMESH_I/SMESH_Hypothesis_i.cxx b/src/SMESH_I/SMESH_Hypothesis_i.cxx index 8133237db..e4f3a43c2 100644 --- a/src/SMESH_I/SMESH_Hypothesis_i.cxx +++ b/src/SMESH_I/SMESH_Hypothesis_i.cxx @@ -176,9 +176,9 @@ CORBA::Boolean SMESH_Hypothesis_i::IsValid() * */ //============================================================================= -//void SMESH_Hypothesis_i::SetParameters(const char* theParameters) void SMESH_Hypothesis_i::SetParameters( SALOME::Notebook_ptr theNotebook, const SALOME::StringArray& theParameters ) { + theNotebook->ClearDependencies( _this(), SALOME::Parameters ); std::list aParams; int n = theParameters.length(); for( int i=0; i