mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-04-28 12:40:48 +05:00
0020918: EDF 1447 SMESH: Mesh common borders
1) NotifySubMeshesHypothesisModification() in LoadFrom() 2) + virtual void UpdateAsMeshesRestored(); // for hyps needing full data restored
This commit is contained in:
parent
77adab5aab
commit
f6271fec89
@ -279,4 +279,17 @@ void SMESH_Hypothesis_i::LoadFrom( const char* theStream )
|
|||||||
MESSAGE( "SMESH_Hypothesis_i::LoadFrom" );
|
MESSAGE( "SMESH_Hypothesis_i::LoadFrom" );
|
||||||
std::istringstream is( theStream );
|
std::istringstream is( theStream );
|
||||||
myBaseImpl->LoadFrom( is );
|
myBaseImpl->LoadFrom( is );
|
||||||
|
// let listeners know about loading (issue 0020918)
|
||||||
|
myBaseImpl->NotifySubMeshesHypothesisModification();
|
||||||
|
}
|
||||||
|
|
||||||
|
//================================================================================
|
||||||
|
/*!
|
||||||
|
* \brief This mesthod is called after completion of loading a study
|
||||||
|
*/
|
||||||
|
//================================================================================
|
||||||
|
|
||||||
|
void SMESH_Hypothesis_i::UpdateAsMeshesRestored()
|
||||||
|
{
|
||||||
|
// for hyps needing full data restored
|
||||||
}
|
}
|
||||||
|
@ -91,7 +91,8 @@ public:
|
|||||||
// Persistence
|
// Persistence
|
||||||
virtual char* SaveTo();
|
virtual char* SaveTo();
|
||||||
virtual void LoadFrom( const char* theStream );
|
virtual void LoadFrom( const char* theStream );
|
||||||
|
virtual void UpdateAsMeshesRestored(); // for hyps needing full data restored
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
::SMESH_Hypothesis* myBaseImpl; // base hypothesis implementation
|
::SMESH_Hypothesis* myBaseImpl; // base hypothesis implementation
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user