From: ouv Date: Thu, 10 Dec 2009 09:51:07 +0000 (+0000) Subject: Debug X-Git-Tag: PHASE_17_Part1_V3~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c4128f77f38ac3ecd9a82e2a765df571e60116d3;p=modules%2Fsmesh.git Debug --- diff --git a/src/SMESH_I/SMESH_Hypothesis_i.cxx b/src/SMESH_I/SMESH_Hypothesis_i.cxx index dcba457ae..8133237db 100644 --- a/src/SMESH_I/SMESH_Hypothesis_i.cxx +++ b/src/SMESH_I/SMESH_Hypothesis_i.cxx @@ -182,7 +182,14 @@ void SMESH_Hypothesis_i::SetParameters( SALOME::Notebook_ptr theNotebook, const std::list aParams; int n = theParameters.length(); for( int i=0; iGetParameter( aParam.c_str() ); + if( !CORBA::is_nil( aParamPtr ) ) + theNotebook->AddDependency( _this(), aParamPtr ); + } myBaseImpl->SetParameters( aParams ); } diff --git a/src/StdMeshersGUI/StdMeshersGUI_NbSegmentsCreator.cxx b/src/StdMeshersGUI/StdMeshersGUI_NbSegmentsCreator.cxx index 1d5125768..58441e078 100644 --- a/src/StdMeshersGUI/StdMeshersGUI_NbSegmentsCreator.cxx +++ b/src/StdMeshersGUI/StdMeshersGUI_NbSegmentsCreator.cxx @@ -39,6 +39,7 @@ // SALOME GUI includes #include #include +#include #include // Qt includes @@ -379,9 +380,9 @@ bool StdMeshersGUI_NbSegmentsCreator::storeParamsToHypo( const NbSegmentsHypothe //the function will be checked with old conversion mode, so that it may occurs //unexpected errors for user - /* ouv: temporarily disabled - h->SetParameters(aVariablesList.join(":").toLatin1().constData()); - */ + // temporal workaround + StdMeshersGUI_NbSegmentsCreator* that = const_cast( this ); + that->getNotebook()->setParameters( h, aVariablesList ); } catch(const SALOME::SALOME_Exception& ex) {