From c52ecc7d0e20d70cfc434324bdbe435a42e98d96 Mon Sep 17 00:00:00 2001 From: asl Date: Thu, 10 Dec 2009 13:33:35 +0000 Subject: [PATCH] clear dependencies should be launched before creation of new dependencies --- src/SMESH_I/SMESH_Hypothesis_i.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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