diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-03-31 22:21:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-31 22:21:23 +0200 |
commit | 47d58b5a9746218531a17fef763de49aba01a065 (patch) | |
tree | 7dfcb7fa64d48adb0808abeb0525a3861a3ba27b /modules/gltf | |
parent | 155a94fabee3ca7305677474d41d497d419b258f (diff) | |
parent | b675a6b9de007269adf21ef43e586535faa982fe (diff) |
Merge pull request #59753 from V-Sekai/let-there-be-light
Diffstat (limited to 'modules/gltf')
-rw-r--r-- | modules/gltf/editor/editor_scene_importer_blend.cpp | 2 |
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,"; |