22501: [CEA 1076] Impossible to mesh at its position a translated without copy shape if the shape has already been meshed

Fix an introduced bug
This commit is contained in:
eap 2014-03-13 21:57:29 +04:00
parent 7cf31f46c4
commit d58cd4792a

View File

@ -199,7 +199,8 @@ void SMESH_Mesh_i::SetShape( GEOM::GEOM_Object_ptr theShapeObject )
// to track changes of GEOM groups
SMESH::SMESH_Mesh_var mesh = _this();
addGeomGroupData( theShapeObject, mesh );
_mainShapeTick = theShapeObject->GetTick();
if ( !CORBA::is_nil( theShapeObject ))
_mainShapeTick = theShapeObject->GetTick();
}
//================================================================================