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 5f11fb054f
commit 716087ee46

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) {