From 3632886261b4b281b67729a6c9a2be61373e4f4e Mon Sep 17 00:00:00 2001 From: mpv Date: Fri, 4 Sep 2020 17:46:03 +0300 Subject: [PATCH] #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. --- src/SMESH_I/SMESH_Mesh_i.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/SMESH_I/SMESH_Mesh_i.cxx b/src/SMESH_I/SMESH_Mesh_i.cxx index 4c2ca27c3..97687ae79 100644 --- a/src/SMESH_I/SMESH_Mesh_i.cxx +++ b/src/SMESH_I/SMESH_Mesh_i.cxx @@ -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();