You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Fix visibility toggle for baked GridMaps
(cherry picked from commit 809d88b925)
This commit is contained in:
@@ -746,6 +746,10 @@ void GridMap::_update_visibility() {
|
|||||||
VS::get_singleton()->instance_set_visible(mi.instance, is_visible_in_tree());
|
VS::get_singleton()->instance_set_visible(mi.instance, is_visible_in_tree());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for (int i = 0; i < baked_meshes.size(); i++) {
|
||||||
|
VS::get_singleton()->instance_set_visible(baked_meshes[i].instance, is_visible_in_tree());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void GridMap::_queue_octants_dirty() {
|
void GridMap::_queue_octants_dirty() {
|
||||||
|
|||||||
Reference in New Issue
Block a user