Details
-
Technical task
-
Resolution: Done
-
P2: Important
-
None
Description
...including non-animatable ones.
Perhaps also rethink the static setters/getters used by the animation system, to get something cleaner and more compact.
In the end we want this:
model1->addPropertyChangeObserver( [](Q3DSGraphObject *obj, const QSet<QString> &keys, int changeFlags) { // in the first call keys is empty, changeFlags is 0 // in the second call keys is ("position"), changeFlags is Q3DSNode::TransformChanges ... }); model1->setPosition(QVector3D(0, 1, 0)); model1->notifyPropertyChanges({ model1->setPosition(QVector3D(0, 1, 0)) }); model1->notifyPropertyChanges({ model1->setPosition(QVector3D(0, 2, 0)) });