summaryrefslogtreecommitdiff
path: root/modules/gltf/editor
diff options
context:
space:
mode:
authorK. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>2022-03-31 09:34:12 -0700
committerK. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>2022-03-31 09:34:12 -0700
commitb675a6b9de007269adf21ef43e586535faa982fe (patch)
tree6730da13549eca9ef691c7307e74d6d1d37b2b4d /modules/gltf/editor
parentc5f9424fbd82d2d8bedb59ebc63e98747781d1ce (diff)
Allow importing punctual lights from Blend.
Diffstat (limited to 'modules/gltf/editor')
-rw-r--r--modules/gltf/editor/editor_scene_importer_blend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gltf/editor/editor_scene_importer_blend.cpp b/modules/gltf/editor/editor_scene_importer_blend.cpp
index 2587c095e1..337a1e981a 100644
--- a/modules/gltf/editor/editor_scene_importer_blend.cpp
+++ b/modules/gltf/editor/editor_scene_importer_blend.cpp
@@ -85,7 +85,7 @@ Node *EditorSceneFormatImporterBlend::import_scene(const String &p_path, uint32_
} else {
parameters_arg += "export_cameras=False,";
}
- if (p_options.has(SNAME("blender/nodes/lights")) && p_options[SNAME("blender/nodes/lights")]) {
+ if (p_options.has(SNAME("blender/nodes/punctual_lights")) && p_options[SNAME("blender/nodes/punctual_lights")]) {
parameters_arg += "export_lights=True,";
} else {
parameters_arg += "export_lights=False,";