Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Duroure <julien.duroure@gmail.com>2018-12-19 23:18:23 +0300
committerJulien Duroure <julien.duroure@gmail.com>2018-12-19 23:18:23 +0300
commit9c914cb37526bd8c080e84886d70e582618cc128 (patch)
treeaf78cf5c3a3ee9d5713dd561e1f282a5d7bd5495 /io_scene_gltf2/blender/imp/gltf2_blender_gltf.py
parent6a1ce20043860e4f836294d46a86b5fcf7fbf1a8 (diff)
glTF import: add support of KHR_lights_punctual extension
Diffstat (limited to 'io_scene_gltf2/blender/imp/gltf2_blender_gltf.py')
-rwxr-xr-xio_scene_gltf2/blender/imp/gltf2_blender_gltf.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/io_scene_gltf2/blender/imp/gltf2_blender_gltf.py b/io_scene_gltf2/blender/imp/gltf2_blender_gltf.py
index 1f708b40..e4cb65f1 100755
--- a/io_scene_gltf2/blender/imp/gltf2_blender_gltf.py
+++ b/io_scene_gltf2/blender/imp/gltf2_blender_gltf.py
@@ -169,6 +169,9 @@ class BlenderGlTF():
gltf.data.skins[node.skin].node_ids.append(node_idx)
+ # Lights management
+ node.correction_needed = False
+
# transform management
if node.matrix:
node.transform = node.matrix