fixes #0001684: Sweep ignores the list of subshapes

This commit is contained in:
Sebastian Hoogen
2014-08-13 09:16:36 +02:00
committed by wmayer
parent 941f7dae00
commit 4ba56b5c29

View File

@@ -349,7 +349,7 @@ App::DocumentObjectExecReturn *Sweep::execute(void)
}
path = mkWire.Wire();
}
if (shape._Shape.ShapeType() == TopAbs_EDGE) {
else if (shape._Shape.ShapeType() == TopAbs_EDGE) {
path = shape._Shape;
}
else if (shape._Shape.ShapeType() == TopAbs_WIRE) {