Closed elvisish closed 1 year ago
Can confirm in 3.5.2 Stable and 4.1.1 Stable under Linux (X11).
Edit: Upon further research I found the following: The visibility of the GridMap itself never changed (still hidden after reload). But the single meshes in the cells are probably set to "visible" by default.
Probably fix: Upon instantiation of the meshes inside a GridMap, check if the GridMap itself is even visible.
Godot version
3.5.2 RC2
System information
Windows 10
Issue description
If a gridmap is hidden in the editor and
get_tree().reload_current_scene()
is used, the gridmap will reappear on reset. Usinghide()
orvisible = false
in_ready()
will not work:The only fix is to use:
Steps to reproduce
get_tree().reload_current_scene()
Minimal reproduction project
brokenhideshow.zip