godotengine / godotengine/godot
resource_importer_scene.cpp does not copy lods during _rescale_importer_mesh
- Dominant language
- C++
- Stars
- 117k
- Forks
- 26.8k
- PR merge metrics
- PR metrics pending
Description
### Tested versions
- Reproducible in 4.3 dev
### System information
Windows 10
### Issue description
Bug in _rescale_importer_mesh, it should copy lods from surfaces in line 475. I have custom code to put custom LODs in a mesh and they are completely ignored. I will probably patch the issue and make a pull request later.
### Steps to reproduce
Requires custom code with custom LOD to test. But the bug is evident when you look at the code in _rescale_importer_mesh in line 475.
### Minimal reproduction project (MRP)
Requires custom code, but looking at the code should make it evident.
Contributor guide
Research direction
Open resource_importer_scene.cpp and inspect _rescale_importer_mesh around line 475, where the issue reports that surface LODs are not copied. Use custom mesh code with custom LODs to reproduce the behavior. Done means imported meshes preserve their custom LODs during rescaling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics, game-dev
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100