Merge pull request #46934 from JFonS/fix_gridmap_visibility
Fix visibility toggle for baked GridMaps
This commit is contained in:
commit
b5406a293d
@ -715,6 +715,10 @@ void GridMap::_update_visibility() {
|
||||
RS::get_singleton()->instance_set_visible(mi.instance, is_visible_in_tree());
|
||||
}
|
||||
}
|
||||
|
||||
for (int i = 0; i < baked_meshes.size(); i++) {
|
||||
RS::get_singleton()->instance_set_visible(baked_meshes[i].instance, is_visible_in_tree());
|
||||
}
|
||||
}
|
||||
|
||||
void GridMap::_queue_octants_dirty() {
|
||||
|
Loading…
Reference in New Issue
Block a user