GLTF: Only list used extensions when they're actually used

This commit is contained in:
Aaron Franke 2022-07-23 18:52:46 -05:00
parent 75f93167f7
commit 6887b3f8ee
No known key found for this signature in database
GPG key ID: 40A1750B977E56BF
2 changed files with 55 additions and 38 deletions

View file

@ -60,6 +60,7 @@ class GLTFState : public Resource {
Vector<uint8_t> glb_data;
bool use_named_skin_binds = false;
bool use_khr_texture_transform = false;
bool discard_meshes_and_materials = false;
Vector<Ref<GLTFNode>> nodes;