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>2022-04-29 09:33:47 +0300
committerJulien Duroure <julien.duroure@gmail.com>2022-04-29 09:33:47 +0300
commita84f9f5ff43f9291458cff2ce8583a956d054900 (patch)
tree7a7080157b87a62a244ff8d52f39013d1f435e00 /io_scene_gltf2/blender/exp/gltf2_blender_extract.py
parent96eb14698456d06bea5a42a6bb35daa172841a6a (diff)
glTF exporter: code cleanup
Diffstat (limited to 'io_scene_gltf2/blender/exp/gltf2_blender_extract.py')
-rwxr-xr-xio_scene_gltf2/blender/exp/gltf2_blender_extract.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/io_scene_gltf2/blender/exp/gltf2_blender_extract.py b/io_scene_gltf2/blender/exp/gltf2_blender_extract.py
index cbb98cc0..d677cba8 100755
--- a/io_scene_gltf2/blender/exp/gltf2_blender_extract.py
+++ b/io_scene_gltf2/blender/exp/gltf2_blender_extract.py
@@ -387,8 +387,8 @@ def __get_positions(blender_mesh, key_blocks, armature, blender_object, export_s
# Transform for skinning
if armature and blender_object:
- apply_matrix = armature.matrix_world.inverted_safe() @ blender_object.matrix_world
- loc_transform = armature.matrix_world @ apply_matrix
+ # apply_matrix = armature.matrix_world.inverted_safe() @ blender_object.matrix_world
+ # loc_transform = armature.matrix_world @ apply_matrix
loc_transform = blender_object.matrix_world
locs[:] = __apply_mat_to_all(loc_transform, locs)