You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
Merge pull request #42848 from Tadaboody/bugfix/gridmap_visibility
Setting visibility on GridMaps parent now works. Closes #41374.
This commit is contained in:
@@ -706,7 +706,7 @@ void GridMap::_update_visibility() {
|
||||
Octant *octant = e->value();
|
||||
for (int i = 0; i < octant->multimesh_instances.size(); i++) {
|
||||
const Octant::MultimeshInstance &mi = octant->multimesh_instances[i];
|
||||
RS::get_singleton()->instance_set_visible(mi.instance, is_visible());
|
||||
RS::get_singleton()->instance_set_visible(mi.instance, is_visible_in_tree());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user