mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-29 10:50:34 +05:00
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:
parent
15a0260a97
commit
14ecb49e31
@ -20,7 +20,6 @@
|
|||||||
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
// 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
|
// File : StdMeshers_LayerDistribution_i.cxx
|
||||||
// Author : Edward AGAPOV
|
// Author : Edward AGAPOV
|
||||||
// Module : SMESH
|
// Module : SMESH
|
||||||
@ -208,6 +207,9 @@ void StdMeshers_LayerDistribution_i::LoadFrom( const char* theStream )
|
|||||||
hyp1D_i->LoadFrom( & theStream[ (streamoff) is.tellg()+1 ]);
|
hyp1D_i->LoadFrom( & theStream[ (streamoff) is.tellg()+1 ]);
|
||||||
this->GetImpl()->SetLayerDistribution( hyp1D_i->GetImpl() );
|
this->GetImpl()->SetLayerDistribution( hyp1D_i->GetImpl() );
|
||||||
myHyp = hyp1D;
|
myHyp = hyp1D;
|
||||||
|
|
||||||
|
SMESH::SMESH_Hypothesis_var me = _this();
|
||||||
|
hyp1D->SetHolderHypothesis( me );
|
||||||
// as hyp1D is not published, its ID changes
|
// as hyp1D is not published, its ID changes
|
||||||
//SMESH::TPythonDump() << _this() << ".SetLayerDistribution( " << hyp1D << " )";
|
//SMESH::TPythonDump() << _this() << ".SetLayerDistribution( " << hyp1D << " )";
|
||||||
|
|
||||||
|
@ -20,7 +20,6 @@
|
|||||||
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
// 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
|
// File : StdMeshers_LayerDistribution_i.hxx
|
||||||
// Author : Edward AGAPOV
|
// Author : Edward AGAPOV
|
||||||
// Module : SMESH
|
// Module : SMESH
|
||||||
|
Loading…
Reference in New Issue
Block a user