0000768: Part Sweep and Loft limitations and bugs

This commit is contained in:
wmayer 2013-10-13 11:07:40 +02:00
parent bac709b276
commit 5a96582a48

View File

@ -245,7 +245,8 @@ App::DocumentObjectExecReturn *Loft::execute(void)
profiles.Append(faceouterWire);
}
else if (shape.ShapeType() == TopAbs_WIRE) {
profiles.Append(shape);
BRepBuilderAPI_MakeWire mkWire(TopoDS::Wire(shape));
profiles.Append(mkWire.Wire());
}
else if (shape.ShapeType() == TopAbs_EDGE) {
BRepBuilderAPI_MakeWire mkWire(TopoDS::Edge(shape));