mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-01 13:10:32 +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" );
|
||||
std::istringstream is( theStream );
|
||||
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
|
||||
virtual char* SaveTo();
|
||||
virtual void LoadFrom( const char* theStream );
|
||||
|
||||
virtual void UpdateAsMeshesRestored(); // for hyps needing full data restored
|
||||
|
||||
protected:
|
||||
::SMESH_Hypothesis* myBaseImpl; // base hypothesis implementation
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user