+ 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:
wmayer 2011-12-08 09:40:16 +00:00
parent 5359085335
commit 32cd807f3c

View File

@ -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");