All extensions used in a model are listed as strings in the top-level extensionsUsed array.
So extensionsUsed should be set in all cases. With this change extensionsUsed is set even if rtc is (None, None) (which is the default).
In our use case we didn't had georeferences so rtc was not set and the created glb file couldn't be loaded with the three.js GLTFLoader because extensionsUsed was not set.
As the GLTF Definition states
So
extensionsUsed
should be set in all cases. With this changeextensionsUsed
is set even ifrtc
is(None, None)
(which is the default).In our use case we didn't had georeferences so
rtc
was not set and the createdglb
file couldn't be loaded with the three.js GLTFLoader becauseextensionsUsed
was not set.