+ use vertex instead of edge in loft function
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5416 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
parent
f46eb9fea2
commit
972e4ad3dd
|
@ -147,7 +147,7 @@ App::DocumentObjectExecReturn *Loft::execute(void)
|
|||
return new App::DocumentObjectExecReturn("Linked shape is invalid.");
|
||||
if (shape.ShapeType() == TopAbs_WIRE)
|
||||
profiles.Append(shape);
|
||||
else if (shape.ShapeType() == TopAbs_EDGE)
|
||||
else if (shape.ShapeType() == TopAbs_VERTEX)
|
||||
profiles.Append(shape);
|
||||
else
|
||||
return new App::DocumentObjectExecReturn("Linked shape is neither a vertex nor a wire.");
|
||||
|
|
Loading…
Reference in New Issue
Block a user