You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-16 14:00:40 +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:
@@ -367,8 +367,6 @@ void Node::set_physics_process(bool p_process) {
|
||||
} else {
|
||||
remove_from_group("physics_process");
|
||||
}
|
||||
|
||||
_change_notify("physics_process");
|
||||
}
|
||||
|
||||
bool Node::is_physics_processing() const {
|
||||
@@ -387,8 +385,6 @@ void Node::set_physics_process_internal(bool p_process_internal) {
|
||||
} else {
|
||||
remove_from_group("physics_process_internal");
|
||||
}
|
||||
|
||||
_change_notify("physics_process_internal");
|
||||
}
|
||||
|
||||
bool Node::is_physics_processing_internal() const {
|
||||
@@ -863,8 +859,6 @@ void Node::set_process(bool p_process) {
|
||||
} else {
|
||||
remove_from_group("process");
|
||||
}
|
||||
|
||||
_change_notify("process");
|
||||
}
|
||||
|
||||
bool Node::is_processing() const {
|
||||
@@ -883,8 +877,6 @@ void Node::set_process_internal(bool p_process_internal) {
|
||||
} else {
|
||||
remove_from_group("process_internal");
|
||||
}
|
||||
|
||||
_change_notify("process_internal");
|
||||
}
|
||||
|
||||
bool Node::is_processing_internal() const {
|
||||
|
||||
Reference in New Issue
Block a user