mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-04-08 07:37:26 +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
|
<< ", " << dim
|
||||||
<< " )";
|
<< " )";
|
||||||
}
|
}
|
||||||
return aGroups;
|
return aGroups ? aGroups : new SMESH::ListOfGroups;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
Loading…
x
Reference in New Issue
Block a user