Removed _change_notify
-For inspector refresh, the inspector now detects if a property change by polling a few times per second and then does update the control if so. This process is very cheap. -For property list refresh, a new signal (property_list_changed) was added to Object. _change_notify() is replaced by notify_property_list_changed() -Changed all objects using the old method to the signal, or just deleted the calls to _change_notify(<property>) since they are unnecesary now.
This commit is contained in:
@ -116,12 +116,12 @@ public:
|
||||
void set_section(const String &p_section, bool p_allow_sub) {
|
||||
section = p_section;
|
||||
allow_sub = p_allow_sub;
|
||||
_change_notify();
|
||||
notify_property_list_changed();
|
||||
}
|
||||
|
||||
void set_edited(Object *p_edited) {
|
||||
edited = p_edited;
|
||||
_change_notify();
|
||||
notify_property_list_changed();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user