+ fix crash when filleting a shape
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5235 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
parent
5359085335
commit
32cd807f3c
|
@ -82,6 +82,9 @@ App::DocumentObjectExecReturn *Fillet::execute(void)
|
|||
mkFillet.Add(radius, radius, edge);
|
||||
}
|
||||
|
||||
if (!mkFillet.IsDone())
|
||||
return new App::DocumentObjectExecReturn("Failed to create fillet");
|
||||
|
||||
TopoDS_Shape shape = mkFillet.Shape();
|
||||
if (shape.IsNull())
|
||||
return new App::DocumentObjectExecReturn("Resulting shape is null");
|
||||
|
|
Loading…
Reference in New Issue
Block a user