feat: add NotifyPropertiesUpdated to Object and trigger on Transform changes for UI synchronization
This commit is contained in:
@@ -223,6 +223,7 @@ public:
|
||||
this->rotation = Vector3f(euler(2), euler(1), euler(0));
|
||||
|
||||
this->SetMatrix(mat);
|
||||
this->NotifyPropertiesUpdated();
|
||||
}
|
||||
|
||||
void SetPosition(const Vector3f &v) {
|
||||
@@ -248,6 +249,7 @@ public:
|
||||
|
||||
void Updated() override {
|
||||
this->SyncMatrix();
|
||||
this->NotifyPropertiesUpdated();
|
||||
this->AffineTransform::Updated();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user