spnda / fastgltf

A modern C++17 glTF 2.0 library focused on speed, correctness, and usability
https://fastgltf.readthedocs.io/v0.8.x/
MIT License
275 stars 42 forks source link

BUG: KHR_materials_anisotropy not functioning (material.anisotropy pointer not assigned) #58

Closed droettger closed 6 months ago

droettger commented 6 months ago

Bug: KHR_materials_anisotropy extension handling is missing material.anisotropy = std::move(anisotropy); before this line: https://github.com/spnda/fastgltf/blob/main/src/fastgltf.cpp#L2480

spnda commented 6 months ago

Thank you for reporting. Sorry about this... I should write more tests covering all the extensions properly.