feat: add NotifyPropertiesUpdated to Object and trigger on Transform changes for UI synchronization

This commit is contained in:
AndreaRigoni
2026-03-31 17:05:17 +00:00
parent f3274f346b
commit 34f834d370
3 changed files with 11 additions and 0 deletions

View File

@@ -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();
}