From: eap Date: Thu, 13 Mar 2014 17:57:29 +0000 (+0400) Subject: 22501: [CEA 1076] Impossible to mesh at its position a translated without copy shape... X-Git-Tag: V7_4_0a1~36^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=d58cd4792aa83c760fe4c5f6be5789e222fb7255 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 --- diff --git a/src/SMESH_I/SMESH_Mesh_i.cxx b/src/SMESH_I/SMESH_Mesh_i.cxx index f2e1ca4c8..2b230a593 100644 --- a/src/SMESH_I/SMESH_Mesh_i.cxx +++ b/src/SMESH_I/SMESH_Mesh_i.cxx @@ -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(); } //================================================================================