PartDesign: do not touch body on child change

This commit is contained in:
Zheng, Lei
2019-08-19 13:39:11 +08:00
committed by wmayer
parent b2d8eeeb65
commit 35c5e5a8a9

View File

@@ -56,6 +56,7 @@ using namespace PartDesign;
PROPERTY_SOURCE(PartDesign::Body, Part::BodyBase)
Body::Body() {
_GroupTouched.setStatus(App::Property::Output,true);
}
/*
@@ -532,5 +533,6 @@ void Body::onDocumentRestored()
if(obj->isDerivedFrom(PartDesign::Feature::getClassTypeId()))
static_cast<PartDesign::Feature*>(obj)->_Body.setValue(this);
}
_GroupTouched.setStatus(App::Property::Output,true);
DocumentObject::onDocumentRestored();
}