Salome HOME
Enable Transform() of 0D elements
authoreap <eap@opencascade.com>
Mon, 24 Sep 2012 11:24:09 +0000 (11:24 +0000)
committereap <eap@opencascade.com>
Mon, 24 Sep 2012 11:24:09 +0000 (11:24 +0000)
src/SMESH/SMESH_MeshEditor.cxx

index 2110a913200e0aa16ca66822760915578ef55ea2..9a821ab80c4e221cc4b32ccaad50fca18265b09d 100644 (file)
@@ -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 ) {