godotengine / godotengine/godot
Can't disable layers if layer 1 is active when doing reimport of gltf/glb
- Dominant language
- C++
- Stars
- 117k
- Forks
- 26.8k
- PR merge metrics
- PR metrics pending
Description
### Tested versions
Godot v4.4.dev2
### System information
Fedora Linux 40 (KDE Plasma) - Wayland - Vulkan (Forward+)
### Issue description
If I try to disable all layers except layer 1 when doing reimport it doesn't disable them.
[Screencast_20240911_213756.webm](https://github.com/user-attachments/assets/fe01ab27-8827-4f56-adb6-25895f2b1022)
In the video you can see that I can disable layer 3 if I keep layer 1 and 2 active. But then I can't disable layer 2 as long as layer 1 is active.
### Steps to reproduce
Double click on glb file
Select MeshInstance3D and enable more layers than layer 1, do a reimport
Reopen the dialog and disable all layer but number 1, and click reimport
Reopen and see that all layers are still active
### Minimal reproduction project (MRP)
[layer.zip](https://github.com/user-attachments/files/16969806/layer.zip)
Contributor guide
Assessment
This issue has not been assessed yet.