0051789: TC7.2.0: NoteBook cannot update study

void StdMeshers_LayerDistribution_i::LoadFrom( const char* theStream )
{

+        SMESH::SMESH_Hypothesis_var me = _this();
+        hyp1D->SetHolderHypothesis( me );
This commit is contained in:
eap 2013-03-29 13:38:04 +00:00
parent 15a0260a97
commit 14ecb49e31
2 changed files with 3 additions and 2 deletions

View File

@ -20,7 +20,6 @@
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
// SMESH SMESH_I : idl implementation based on 'SMESH' unit's classes
// File : StdMeshers_LayerDistribution_i.cxx
// Author : Edward AGAPOV
// Module : SMESH
@ -208,6 +207,9 @@ void StdMeshers_LayerDistribution_i::LoadFrom( const char* theStream )
hyp1D_i->LoadFrom( & theStream[ (streamoff) is.tellg()+1 ]);
this->GetImpl()->SetLayerDistribution( hyp1D_i->GetImpl() );
myHyp = hyp1D;
SMESH::SMESH_Hypothesis_var me = _this();
hyp1D->SetHolderHypothesis( me );
// as hyp1D is not published, its ID changes
//SMESH::TPythonDump() << _this() << ".SetLayerDistribution( " << hyp1D << " )";

View File

@ -20,7 +20,6 @@
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
// SMESH SMESH_I : idl implementation based on 'SMESH' unit's calsses
// File : StdMeshers_LayerDistribution_i.hxx
// Author : Edward AGAPOV
// Module : SMESH