X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMDS%2FSMDS_MeshElement.cxx;h=6f5b5eb54b8844b645a2924c0b17449587932c89;hb=e3214b68d298250cb463df645aecb3d2fdd5627a;hp=a24cbff94b6512aeed6dc066cbb171e3f0c5707d;hpb=b6986ac1b189728ef4f2a486e035957ffa63272d;p=modules%2Fsmesh.git diff --git a/src/SMDS/SMDS_MeshElement.cxx b/src/SMDS/SMDS_MeshElement.cxx index a24cbff94..6f5b5eb54 100644 --- a/src/SMDS/SMDS_MeshElement.cxx +++ b/src/SMDS/SMDS_MeshElement.cxx @@ -34,7 +34,12 @@ using namespace std; -SMDS_MeshElement::SMDS_MeshElement(int ID):myID(ID) +SMDS_MeshElement::SMDS_MeshElement(int ID):myID(ID), myMeshId(-1), myShapeId(-1), myIdInShape(-1) +{ +} + +SMDS_MeshElement::SMDS_MeshElement(int id, ShortType meshId, ShortType shapeId): + myID(id), myMeshId(meshId), myShapeId(shapeId), myIdInShape(-1) { }