mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-24 16:30:34 +05:00
Implementation of the automatic breaking the link if the shape is modified or deleted
This commit is contained in:
parent
b6155253f8
commit
c56d066c64
@ -2241,6 +2241,13 @@ void SMESH_Mesh_i::CheckGeomModif()
|
|||||||
if ( newShape.IsNull() )
|
if ( newShape.IsNull() )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
// for the SHAPER-STUDY: the geometry may be updated, so, add a warning icon
|
||||||
|
if (_mainShapeTick != mainGO->GetTick()) {
|
||||||
|
SALOMEDS::SObject_wrap meshSO = _gen_i->ObjectToSObject( me );
|
||||||
|
if ( !meshSO->_is_nil())
|
||||||
|
_gen_i->SetPixMap(meshSO, "ICON_SMESH_TREE_MESH_WARN");
|
||||||
|
}
|
||||||
|
|
||||||
_mainShapeTick = mainGO->GetTick();
|
_mainShapeTick = mainGO->GetTick();
|
||||||
|
|
||||||
SMESHDS_Mesh * meshDS = _impl->GetMeshDS();
|
SMESHDS_Mesh * meshDS = _impl->GetMeshDS();
|
||||||
|
Loading…
Reference in New Issue
Block a user