summaryrefslogtreecommitdiffstats
path: root/modules/gltf/gltf_document.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-04-25 09:56:58 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-04-25 09:56:58 +0200
commitd5b8a0fc373aa99c0618db3472947db4d6d7c933 (patch)
tree27c8da12e0a8579a842862b8acb520035c73933b /modules/gltf/gltf_document.cpp
parent14c582bca81046fdde35e16088ddfd5df0136d56 (diff)
parent639b8e7dc7aeb0070a81c2cbe36608283b02dd78 (diff)
downloadredot-engine-d5b8a0fc373aa99c0618db3472947db4d6d7c933.tar.gz
Merge pull request #69266 from aaronfranke/gltf-physics
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 7087c30688..efdc3b0d2d 100644
--- a/modules/gltf/gltf_document.cpp
+++ b/modules/gltf/gltf_document.cpp
@@ -7467,7 +7467,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?");