PartDesign: tidy up sketch support and base feature confusion

Not complete, transformPlacement and positionBySketch are pending...
This commit is contained in:
DeepSOIC
2015-06-29 22:50:31 +03:00
committed by Stefan Tröger
parent b67c8bd34d
commit 03be8e1bba
11 changed files with 61 additions and 109 deletions

View File

@@ -107,13 +107,7 @@ App::DocumentObjectExecReturn *Pad::execute(void)
try {
base = getBaseShape();
} catch (const Base::Exception&) {
try {
// fall back to support (for legacy features)
base = getSupportShape();
} catch (const Base::Exception&) {
// ignore, because support isn't mandatory
base = TopoDS_Shape();
}
base = TopoDS_Shape();
}
/*