diff --git a/modules/gltf/gltf_document_extension_convert_importer_mesh.cpp b/modules/gltf/gltf_document_extension_convert_importer_mesh.cpp index 65566cf1f..6f328be81 100644 --- a/modules/gltf/gltf_document_extension_convert_importer_mesh.cpp +++ b/modules/gltf/gltf_document_extension_convert_importer_mesh.cpp @@ -42,7 +42,7 @@ void GLTFDocumentExtensionConvertImporterMesh::_bind_methods() { } -Error GLTFDocumentExtensionConvertImporterMesh::import_post(Ref p_state, Node *p_root) { +int GLTFDocumentExtensionConvertImporterMesh::_import_post(Ref p_state, Node *p_root) { ERR_FAIL_NULL_V(p_root, ERR_INVALID_PARAMETER); ERR_FAIL_COND_V(p_state.is_null(), ERR_INVALID_PARAMETER); diff --git a/modules/gltf/gltf_document_extension_convert_importer_mesh.h b/modules/gltf/gltf_document_extension_convert_importer_mesh.h index 1e15e1105..97d60ad2d 100644 --- a/modules/gltf/gltf_document_extension_convert_importer_mesh.h +++ b/modules/gltf/gltf_document_extension_convert_importer_mesh.h @@ -45,7 +45,7 @@ protected: static void _bind_methods(); public: - Error import_post(Ref p_state, Node *p_root); + int _import_post(Ref p_state, Node *p_root); }; #endif // GLTF_DOCUMENT_EXTENSION_CONVERT_IMPORTER_MESH_H