MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / addOrRemovePropertyOfObject

Method addOrRemovePropertyOfObject

src/App/Document.cpp:313–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311}
312
313void Document::addOrRemovePropertyOfObject(TransactionalObject* obj,
314 const Property* prop, const bool add)
315{
316 changePropertyOfObject(obj, prop, [this, obj, prop, add]() {
317 d->activeUndoTransaction->addOrRemoveProperty(obj, prop, add);
318 });
319}
320
321bool Document::isPerformingTransaction() const
322{

Callers 4

removeDynamicPropertyMethod · 0.80
addDynamicPropertyMethod · 0.80
removeDynamicPropertyMethod · 0.80
addDynamicPropertyMethod · 0.80

Calls 1

addOrRemovePropertyMethod · 0.80

Tested by

no test coverage detected