From b72dc0de89eb11e7afdb3c2e3bae737bea40524f Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Sat, 17 Sep 2022 22:06:23 -0500 Subject: Make used extensions stored in GLTFState This allows GLTFDocumentExtension classes to add to the used extensions array. --- modules/gltf/doc_classes/GLTFState.xml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'modules/gltf/doc_classes') diff --git a/modules/gltf/doc_classes/GLTFState.xml b/modules/gltf/doc_classes/GLTFState.xml index 1dbd89aed8..6c2f488c1c 100644 --- a/modules/gltf/doc_classes/GLTFState.xml +++ b/modules/gltf/doc_classes/GLTFState.xml @@ -7,6 +7,14 @@ + + + + + + Appends an extension to the list of extensions used by this GLTF file during serialization. If [param required] is true, the extension will also be added to the list of required extensions. Do not run this in [method GLTFDocumentExtension._export_post], as that stage is too late to add extensions. The final list is sorted alphabetically. + + -- cgit v1.2.3