summaryrefslogtreecommitdiff
path: root/modules/gltf
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2021-12-10 10:10:47 -0600
committerAaron Franke <arnfranke@yahoo.com>2021-12-10 12:14:27 -0600
commit368c0bc0acfe4621f21195193633bf7f28cbd4a7 (patch)
tree9b06a59bd5e71f8527df49e5b081541df4e85161 /modules/gltf
parent4f9b6d9a3f7ba9315312c563ca6f805b60b635ab (diff)
Misc build system fixes
Diffstat (limited to 'modules/gltf')
-rw-r--r--modules/gltf/gltf_document.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gltf/gltf_document.cpp b/modules/gltf/gltf_document.cpp
index bdba5130ec..1c1ee5cd10 100644
--- a/modules/gltf/gltf_document.cpp
+++ b/modules/gltf/gltf_document.cpp
@@ -4606,7 +4606,7 @@ Error GLTFDocument::_parse_lights(Ref<GLTFState> state) {
light->outer_cone_angle = spot["outerConeAngle"];
ERR_CONTINUE_MSG(light->inner_cone_angle >= light->outer_cone_angle, "The inner angle must be smaller than the outer angle.");
} else if (type != "point" && type != "directional") {
- ERR_CONTINUE_MSG(ERR_PARSE_ERROR, "Light type is unknown.");
+ ERR_CONTINUE_MSG(true, "Light type is unknown.");
}
state->lights.push_back(light);