From 4b09cb47ab00a2fa63dbab46bc932e3c19309e53 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sun, 8 Jan 2023 11:34:32 +0100 Subject: [PATCH] Fix typo. --- editor_modules/gltf/extensions/gltf_document_extension.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor_modules/gltf/extensions/gltf_document_extension.cpp b/editor_modules/gltf/extensions/gltf_document_extension.cpp index 9ac2559ac..9839abd97 100644 --- a/editor_modules/gltf/extensions/gltf_document_extension.cpp +++ b/editor_modules/gltf/extensions/gltf_document_extension.cpp @@ -150,8 +150,8 @@ void GLTFDocumentExtension::convert_scene_node(Ref p_state, Ref p_state, Ref p_gltf_node, Dictionary &r_dict, Node *p_node) { - ERR_FAIL_COND(p_state.is_null(), ERR_INVALID_PARAMETER); - ERR_FAIL_COND(p_gltf_node.is_null(), ERR_INVALID_PARAMETER); + ERR_FAIL_COND_V(p_state.is_null(), ERR_INVALID_PARAMETER); + ERR_FAIL_COND_V(p_gltf_node.is_null(), ERR_INVALID_PARAMETER); ERR_FAIL_NULL_V(p_node, ERR_INVALID_PARAMETER); ScriptInstance *si = get_script_instance(); if (!si) {