22833: [CEA 1346] to extrude a group of faces following the normal of each face

Fix SIGSEGV when no groups created
This commit is contained in:
eap 2015-01-28 17:57:23 +03:00
parent cb136b9fea
commit 53393c4445

View File

@ -3126,7 +3126,7 @@ SMESH_MeshEditor_i::ExtrusionByNormal(SMESH::SMESH_IDSource_ptr object,
<< ", " << dim
<< " )";
}
return aGroups;
return aGroups ? aGroups : new SMESH::ListOfGroups;
}
//=======================================================================