mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-14 02:30:33 +05:00
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:
parent
cb136b9fea
commit
53393c4445
@ -3126,7 +3126,7 @@ SMESH_MeshEditor_i::ExtrusionByNormal(SMESH::SMESH_IDSource_ptr object,
|
||||
<< ", " << dim
|
||||
<< " )";
|
||||
}
|
||||
return aGroups;
|
||||
return aGroups ? aGroups : new SMESH::ListOfGroups;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
|
Loading…
Reference in New Issue
Block a user