From 639b8e7dc7aeb0070a81c2cbe36608283b02dd78 Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Tue, 22 Nov 2022 09:29:56 -0600 Subject: Implement physics support in the GLTF module --- modules/gltf/gltf_document.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/gltf/gltf_document.cpp') 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 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?"); -- cgit v1.2.3