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

@@ -96,6 +96,9 @@ public:
const std::vector<PropertyBase*>& GetProperties() const;
PropertyBase* GetProperty(const std::string& name) const;
/** @brief Sends an Updated signal for all properties of this object. useful for real-time UI refresh. */
void NotifyPropertiesUpdated();
////////////////////////////////////////////////////////////////////////////
// PARAMETERS //
@@ -133,6 +136,7 @@ public:
signals:
virtual void Updated();
virtual void PropertyUpdated();
// Qt4 style connector //
static bool connect(const Object *ob1, const char *signal_name,