You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +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:
@@ -189,7 +189,6 @@ void GridMap::set_mesh_library(const Ref<MeshLibrary> &p_mesh_library) {
|
||||
}
|
||||
|
||||
_recreate_octant_data();
|
||||
_change_notify("mesh_library");
|
||||
}
|
||||
|
||||
Ref<MeshLibrary> GridMap::get_mesh_library() const {
|
||||
@@ -701,8 +700,6 @@ void GridMap::_update_visibility() {
|
||||
return;
|
||||
}
|
||||
|
||||
_change_notify("visible");
|
||||
|
||||
for (Map<OctantKey, Octant *>::Element *e = octant_map.front(); e; e = e->next()) {
|
||||
Octant *octant = e->value();
|
||||
for (int i = 0; i < octant->multimesh_instances.size(); i++) {
|
||||
|
||||
Reference in New Issue
Block a user