Update method in GLTFDocumentExtensionConvertImporterMesh.

This commit is contained in:
Relintai 2022-08-08 00:52:21 +02:00
parent b28af3a912
commit 341b1a105f
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@
void GLTFDocumentExtensionConvertImporterMesh::_bind_methods() { void GLTFDocumentExtensionConvertImporterMesh::_bind_methods() {
} }
Error GLTFDocumentExtensionConvertImporterMesh::import_post(Ref<GLTFState> p_state, Node *p_root) { int GLTFDocumentExtensionConvertImporterMesh::_import_post(Ref<GLTFState> p_state, Node *p_root) {
ERR_FAIL_NULL_V(p_root, ERR_INVALID_PARAMETER); ERR_FAIL_NULL_V(p_root, ERR_INVALID_PARAMETER);
ERR_FAIL_COND_V(p_state.is_null(), ERR_INVALID_PARAMETER); ERR_FAIL_COND_V(p_state.is_null(), ERR_INVALID_PARAMETER);

View File

@ -45,7 +45,7 @@ protected:
static void _bind_methods(); static void _bind_methods();
public: public:
Error import_post(Ref<GLTFState> p_state, Node *p_root); int _import_post(Ref<GLTFState> p_state, Node *p_root);
}; };
#endif // GLTF_DOCUMENT_EXTENSION_CONVERT_IMPORTER_MESH_H #endif // GLTF_DOCUMENT_EXTENSION_CONVERT_IMPORTER_MESH_H