-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GridMap remains visible if parent is set to not visible #41374
Comments
This was reported a long time ago in #907 (closed in 2017), but it seems the bug appeared again according to #10418 (comment). |
Hi, I just entered github to report same issue but found that existing report. Anyway - amazing work guys, I like GODOT so much. Cheers, |
Setting visibility on GridMaps parent now works. Closes #41374.
Continuing the work from f43a0ef, It seems the maps visibility was not actually set and a flase value was propogated to the meshes Trying to set the maps visibility directly (Using `set_visibility` causes the map to no longer to recieve visibility notifications, instead this approach was chosen (cherry picked from commit fe52c6b)
Does anyone know if this issue is related to #40245, and if this solution will resolve that issue too? |
Godot version:
3.2.2
OS/device including version:
Ubuntu Linux 16.04, 64-bit
GeForce GTX 970 with NVIDIA 384.130 driver
GLES3 backend
Issue description:
GridMaps remain visible in the editor and at runtime while parent spatial nodes are set to invisible.
Steps to reproduce:
Minimal reproduction project:
GridMap-Visible.zip
If you run the project you can press space to toggle the visibility of the scene. Note that the DirectionalLight and the Sprite3D correctly hide while the GridMap remains on the screen.
The text was updated successfully, but these errors were encountered: