summaryrefslogtreecommitdiffstats
path: root/modules/gltf/gltf_document.cpp
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2022-11-22 09:29:56 -0600
committerAaron Franke <arnfranke@yahoo.com>2023-03-09 20:02:05 -0600
commit639b8e7dc7aeb0070a81c2cbe36608283b02dd78 (patch)
treea4d304080f9797a5debe11071e04abf47219eb3c /modules/gltf/gltf_document.cpp
parentc1128e911ccd6f1e8c35646df804d894652a58f1 (diff)
downloadredot-engine-639b8e7dc7aeb0070a81c2cbe36608283b02dd78.tar.gz
Implement physics support in the GLTF module
Diffstat (limited to 'modules/gltf/gltf_document.cpp')
-rw-r--r--modules/gltf/gltf_document.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gltf/gltf_document.cpp b/modules/gltf/gltf_document.cpp
index d93485a800..2e39c8b2b0 100644
--- a/modules/gltf/gltf_document.cpp
+++ b/modules/gltf/gltf_document.cpp
@@ -7461,7 +7461,7 @@ Error GLTFDocument::_parse_gltf_extensions(Ref<GLTFState> p_state) {
supported_extensions.insert(ext_supported_extensions[i]);
}
}
- Error ret = Error::OK;
+ Error ret = OK;
for (int i = 0; i < p_state->extensions_required.size(); i++) {
if (!supported_extensions.has(p_state->extensions_required[i])) {
ERR_PRINT("GLTF: Can't import file '" + p_state->filename + "', required extension '" + String(p_state->extensions_required[i]) + "' is not supported. Are you missing a GLTFDocumentExtension plugin?");