You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug getMaterialTexture in model.lua:ln:105 fails to build correct filenames to material textures. This is caused by outdated assimp bindings causing the first 4 characters of filenames to be missing.
To Reproduce
Steps to reproduce the behavior:
Run ./lgf
See error
Expected behavior
Running ./lgf should not produce crashes. getMaterialTexture should provide correct filenames.
Additional context
Stack traceback:
luajit: ...mcwatters/Planimeter/lgf/lua/framework/graphics/mesh.lua:27: not found
stack traceback:
[C]: infunction'error'
...cwatters/Planimeter/lgf/lua/framework/graphics/image.lua:29: infunction'constructor'
/Users/andrewmcwatters/Planimeter/lgf/lib/class.lua:130: infunction'newImage'
...mcwatters/Planimeter/lgf/lua/framework/graphics/mesh.lua:27: infunction'constructor'
/Users/andrewmcwatters/Planimeter/lgf/lib/class.lua:130: infunction'processMesh'
...cwatters/Planimeter/lgf/lua/framework/graphics/model.lua:193: infunction'processNode'
...cwatters/Planimeter/lgf/lua/framework/graphics/model.lua:219: infunction'constructor'
/Users/andrewmcwatters/Planimeter/lgf/lib/class.lua:130: infunction'newModel'
/Users/andrewmcwatters/Planimeter/lgf/main.lua:55: infunction'load'
...rs/andrewmcwatters/Planimeter/lgf/lua/framework/init.lua:89: infunction'main'
...rs/andrewmcwatters/Planimeter/lgf/lua/framework/init.lua:272: in main chunk
[C]: at 0x0100c371d0
Describe the bug
getMaterialTextureinmodel.lua:ln:105fails to build correct filenames to material textures. This is caused by outdated assimp bindings causing the first 4 characters of filenames to be missing.To Reproduce
Steps to reproduce the behavior:
./lgfExpected behavior
Running
./lgfshould not produce crashes.getMaterialTextureshould provide correct filenames.Additional context
Stack traceback:
Filenames created:
Filenames expected:
See also
LWJGL/lwjgl3#516