Salome HOME
22833: [CEA 1346] to extrude a group of faces following the normal of each face
[modules/smesh.git] / src / SMESH_I / SMESH_MeshEditor_i.cxx
index 39a9d25d6b2de158a2fd6682eaf690686e85b0e6..a753f0b59b70cf5b6e1613c7d8caae6d40272426 100644 (file)
@@ -3126,7 +3126,7 @@ SMESH_MeshEditor_i::ExtrusionByNormal(SMESH::SMESH_IDSource_ptr object,
                 << ", " << dim
                 << " )";
   }
                 << ", " << dim
                 << " )";
   }
-  return aGroups;
+  return aGroups ? aGroups : new SMESH::ListOfGroups;
 }
 
 //=======================================================================
 }
 
 //=======================================================================