From 341b1a105f648b09a7b465c74fc5fc064f02a2b2 Mon Sep 17 00:00:00 2001 From: Relintai Date: Mon, 8 Aug 2022 00:52:21 +0200 Subject: [PATCH] Update method in GLTFDocumentExtensionConvertImporterMesh. --- modules/gltf/gltf_document_extension_convert_importer_mesh.cpp | 2 +- modules/gltf/gltf_document_extension_convert_importer_mesh.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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