summaryrefslogtreecommitdiff
path: root/modules/gltf/doc_classes
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2022-12-11 00:27:57 -0600
committerAaron Franke <arnfranke@yahoo.com>2022-12-11 13:22:25 -0600
commitf83f13f3a202c61b6dfb682f17dafb1c2fdcc368 (patch)
tree508c79c624ecaa729fd4c5cf69a209c142152a26 /modules/gltf/doc_classes
parent05097ded0a915cd6c083f15dab08da2bdc0770b8 (diff)
Pass GLTFState to the export_preflight method
Diffstat (limited to 'modules/gltf/doc_classes')
-rw-r--r--modules/gltf/doc_classes/GLTFDocumentExtension.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/gltf/doc_classes/GLTFDocumentExtension.xml b/modules/gltf/doc_classes/GLTFDocumentExtension.xml
index ac638a8962..6004de32f1 100644
--- a/modules/gltf/doc_classes/GLTFDocumentExtension.xml
+++ b/modules/gltf/doc_classes/GLTFDocumentExtension.xml
@@ -42,7 +42,8 @@
</method>
<method name="_export_preflight" qualifiers="virtual">
<return type="int" />
- <param index="0" name="root" type="Node" />
+ <param index="0" name="state" type="GLTFState" />
+ <param index="1" name="root" type="Node" />
<description>
Part of the export process. This method is run first, before all other parts of the export process.
The return value is used to determine if this [GLTFDocumentExtension] instance should be used for exporting a given GLTF file. If [constant OK], the export will use this [GLTFDocumentExtension] instance. If not overridden, [constant OK] is returned.