Pad/Pocket: Allow extrude up to a datum plane

This commit is contained in:
jrheinlaender
2013-05-14 15:44:24 +04:30
committed by Stefan Tröger
parent bf973e06c0
commit de17a3ede4
12 changed files with 161 additions and 153 deletions

View File

@@ -3085,7 +3085,7 @@ void SketchObject::rebuildExternalGeometry(void)
if (Obj->getTypeId().isDerivedFrom(Part::Datum::getClassTypeId())) {
const Part::Datum* datum = static_cast<const Part::Datum*>(Obj);
refSubShape = datum->Shape.getValue();
refSubShape = datum->getShape();
} else if (Obj->getTypeId().isDerivedFrom(Part::Feature::getClassTypeId())) {
try {
const Part::Feature *refObj=static_cast<const Part::Feature*>(Obj);