[Bf-extensions-cvs] [1a4bf222] master: glTF importer: fix typo

Julien Duroure noreply at git.blender.org
Thu Sep 26 18:16:00 CEST 2019


Commit: 1a4bf2229bbd17ae557f1890bcf771bc0e5b2e29
Author: Julien Duroure
Date:   Thu Sep 26 17:16:31 2019 +0200
Branches: master
https://developer.blender.org/rBA1a4bf2229bbd17ae557f1890bcf771bc0e5b2e29

glTF importer: fix typo

===================================================================

M	io_scene_gltf2/blender/imp/gltf2_blender_primitive.py

===================================================================

diff --git a/io_scene_gltf2/blender/imp/gltf2_blender_primitive.py b/io_scene_gltf2/blender/imp/gltf2_blender_primitive.py
index 31edd0f6..254e5c59 100755
--- a/io_scene_gltf2/blender/imp/gltf2_blender_primitive.py
+++ b/io_scene_gltf2/blender/imp/gltf2_blender_primitive.py
@@ -204,7 +204,7 @@ class BlenderPrimitive():
             else:
                 joint_data = gltf.accessor_cache[attributes['JOINTS_%d' % set_num]]
 
-            if attributes['WEIGHTS_%d' % set_num] not in gltf.accessor_cache.keys()
+            if attributes['WEIGHTS_%d' % set_num] not in gltf.accessor_cache.keys():
                 weight_data = BinaryData.get_data_from_accessor(gltf, attributes['WEIGHTS_%d' % set_num])
                 gltf.accessor_cache[attributes['WEIGHTS_%d' % set_num]] = weight_data
             else:



More information about the Bf-extensions-cvs mailing list