From 1aa2823fa32c7a4b41d806418ec99949fc44ffb3 Mon Sep 17 00:00:00 2001 From: reduz Date: Wed, 10 Feb 2021 17:18:45 -0300 Subject: 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() since they are unnecesary now. --- modules/gridmap/grid_map.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'modules/gridmap/grid_map.cpp') diff --git a/modules/gridmap/grid_map.cpp b/modules/gridmap/grid_map.cpp index cec0408328..e7c252dc53 100644 --- a/modules/gridmap/grid_map.cpp +++ b/modules/gridmap/grid_map.cpp @@ -189,7 +189,6 @@ void GridMap::set_mesh_library(const Ref &p_mesh_library) { } _recreate_octant_data(); - _change_notify("mesh_library"); } Ref GridMap::get_mesh_library() const { @@ -701,8 +700,6 @@ void GridMap::_update_visibility() { return; } - _change_notify("visible"); - for (Map::Element *e = octant_map.front(); e; e = e->next()) { Octant *octant = e->value(); for (int i = 0; i < octant->multimesh_instances.size(); i++) { -- cgit v1.2.3