From: eap Date: Mon, 24 Sep 2012 11:24:09 +0000 (+0000) Subject: Enable Transform() of 0D elements X-Git-Tag: V6_6_0a1~89 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=587ed40d42da940b6a0b24f3354fbabcbe7a89eb;p=modules%2Fsmesh.git Enable Transform() of 0D elements --- diff --git a/src/SMESH/SMESH_MeshEditor.cxx b/src/SMESH/SMESH_MeshEditor.cxx index 2110a9132..9a821ab80 100644 --- a/src/SMESH/SMESH_MeshEditor.cxx +++ b/src/SMESH/SMESH_MeshEditor.cxx @@ -5709,7 +5709,7 @@ SMESH_MeshEditor::Transform (TIDSortedElemSet & theElems, SMDSAbs_GeometryType geomType = elem->GetGeomType(); int nbNodes = elem->NbNodes(); - if ( geomType == SMDSGeom_POINT ) continue; // node + if ( geomType == SMDSGeom_NONE ) continue; // node switch ( geomType ) {