You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-26 15:46:23 +00:00
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:
@@ -47,7 +47,6 @@ void Range::_value_changed_notify() {
|
||||
_value_changed(shared->val);
|
||||
emit_signal("value_changed", shared->val);
|
||||
update();
|
||||
_change_notify("value");
|
||||
}
|
||||
|
||||
void Range::Shared::emit_value_changed() {
|
||||
@@ -63,7 +62,6 @@ void Range::Shared::emit_value_changed() {
|
||||
void Range::_changed_notify(const char *p_what) {
|
||||
emit_signal("changed");
|
||||
update();
|
||||
_change_notify(p_what);
|
||||
}
|
||||
|
||||
void Range::Shared::emit_changed(const char *p_what) {
|
||||
|
||||
Reference in New Issue
Block a user