Group tests and fixes

This commit is contained in:
Stefan Tröger
2017-02-11 12:02:58 +01:00
committed by wmayer
parent 0487b66738
commit 9fbf118cdd
3 changed files with 53 additions and 20 deletions

View File

@@ -422,10 +422,12 @@ void DocumentObject::onChanged(const Property* prop)
if (prop == &Label && _pDoc && oldLabel != Label.getStrValue())
_pDoc->signalRelabelObject(*this);
if (prop->getType() & Prop_Output)
return;
// set object touched
StatusBits.set(ObjectStatus::Touch);
// set object touched if it is a input ptoperty
if (!(prop->getType() & Prop_Output))
StatusBits.set(0);
//call the parent for appropriate handling
TransactionalObject::onChanged(prop);
}
PyObject *DocumentObject::getPyObject(void)