Make property_list_changed_notify
protected in Object
Alternative to `_change_notify()` to be called from within C++ classes. Achieves low-level consistency with scripting, where this method is exposed for updating the editor (inspector) with new values.
This commit is contained in:
parent
2a325f3888
commit
9aa06c3e65
1 changed files with 1 additions and 2 deletions
|
@ -482,8 +482,6 @@ private:
|
||||||
void _set_indexed_bind(const NodePath &p_name, const Variant &p_value);
|
void _set_indexed_bind(const NodePath &p_name, const Variant &p_value);
|
||||||
Variant _get_indexed_bind(const NodePath &p_name) const;
|
Variant _get_indexed_bind(const NodePath &p_name) const;
|
||||||
|
|
||||||
void property_list_changed_notify();
|
|
||||||
|
|
||||||
_FORCE_INLINE_ void _construct_object(bool p_reference);
|
_FORCE_INLINE_ void _construct_object(bool p_reference);
|
||||||
|
|
||||||
friend class Reference;
|
friend class Reference;
|
||||||
|
@ -525,6 +523,7 @@ protected:
|
||||||
static void get_valid_parents_static(List<String> *p_parents);
|
static void get_valid_parents_static(List<String> *p_parents);
|
||||||
static void _get_valid_parents_static(List<String> *p_parents);
|
static void _get_valid_parents_static(List<String> *p_parents);
|
||||||
|
|
||||||
|
void property_list_changed_notify();
|
||||||
virtual void _changed_callback(Object *p_changed, const char *p_prop);
|
virtual void _changed_callback(Object *p_changed, const char *p_prop);
|
||||||
|
|
||||||
//Variant _call_bind(const StringName& p_name, const Variant& p_arg1 = Variant(), const Variant& p_arg2 = Variant(), const Variant& p_arg3 = Variant(), const Variant& p_arg4 = Variant());
|
//Variant _call_bind(const StringName& p_name, const Variant& p_arg1 = Variant(), const Variant& p_arg2 = Variant(), const Variant& p_arg3 = Variant(), const Variant& p_arg4 = Variant());
|
||||||
|
|
Loading…
Reference in a new issue