PartDesign: do not touch body on child change

This commit is contained in:
Zheng, Lei
2019-08-30 13:31:19 +02:00
committed by wmayer
parent b2d8eeeb65
commit 35c5e5a8a9
+2
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();
}