diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2022-12-11 00:27:57 -0600 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2022-12-11 13:22:25 -0600 |
commit | f83f13f3a202c61b6dfb682f17dafb1c2fdcc368 (patch) | |
tree | 508c79c624ecaa729fd4c5cf69a209c142152a26 /modules/gltf/gltf_document.cpp | |
parent | 05097ded0a915cd6c083f15dab08da2bdc0770b8 (diff) | |
download | redot-engine-f83f13f3a202c61b6dfb682f17dafb1c2fdcc368.tar.gz |
Pass GLTFState to the export_preflight method
Diffstat (limited to 'modules/gltf/gltf_document.cpp')
-rw-r--r-- | modules/gltf/gltf_document.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gltf/gltf_document.cpp b/modules/gltf/gltf_document.cpp index 2cb2d21854..f4db576b0c 100644 --- a/modules/gltf/gltf_document.cpp +++ b/modules/gltf/gltf_document.cpp @@ -6930,7 +6930,7 @@ Error GLTFDocument::append_from_scene(Node *p_node, Ref<GLTFState> p_state, uint document_extensions.clear(); for (Ref<GLTFDocumentExtension> ext : all_document_extensions) { ERR_CONTINUE(ext.is_null()); - Error err = ext->export_preflight(p_node); + Error err = ext->export_preflight(p_state, p_node); if (err == OK) { document_extensions.push_back(ext); } |