syoyo / tinygltf

Header only C++11 tiny glTF 2.0 library
MIT License
1.94k stars 395 forks source link

Bug/msft lod extension used #480

Closed ptc-tgamper closed 3 months ago

ptc-tgamper commented 3 months ago

At the moment the MSFT_lod extension is only registered with the nodes and materials that use it. But the model itself does not expose it as a used extension. Add MSFT_lod to the model's extensionsUsed, if one or more nodes/materials employ MSFT_lod.

syoyo commented 3 months ago

Good find! Thanks for PR! Merged!