mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 08:50:35 +05:00
#19919 [CEA] Group of Edges reported as empty
Make mesh marked by ! sign if after breaking link the referenced shape becomes different from the shape used for meshing before.
This commit is contained in:
parent
f6bd1b130c
commit
3632886261
@ -2052,8 +2052,7 @@ void SMESH_Mesh_i::ReplaceShape(GEOM::GEOM_Object_ptr theNewGeom)
|
||||
bool geomChanged = true;
|
||||
GEOM::GEOM_Object_var oldGeom = GetShapeToMesh();
|
||||
if ( !theNewGeom->_is_nil() && !oldGeom->_is_nil() )
|
||||
geomChanged = ( //oldGeom->_is_equivalent( theNewGeom ) ||
|
||||
oldGeom->GetTick() < theNewGeom->GetTick() );
|
||||
geomChanged = ( oldGeom->GetTick() != theNewGeom->GetTick() );
|
||||
|
||||
TopoDS_Shape S = _impl->GetShapeToMesh();
|
||||
GEOM_Client* geomClient = _gen_i->GetShapeReader();
|
||||
|
Loading…
Reference in New Issue
Block a user