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:
authorJacques Lucke <mail@jlucke.com>2019-01-21 16:35:46 +0300
committerJacques Lucke <mail@jlucke.com>2019-01-21 16:35:46 +0300
commit80562a80306ae9abc5eaa7cd24ab70b09213a213 (patch)
tree53155ba2509554d263d7e902e433fd91e1ea64f0 /io_anim_bvh
parent73f88be5067be19aa2c1af75ee9566d41f69a5c0 (diff)
Fix calls to object.transform_ apply due to API changes
The parameter defaults were changed in rB0c829e8240eebd7ce4ed9d61f8682c0d6bf534f4
Diffstat (limited to 'io_anim_bvh')
-rw-r--r--io_anim_bvh/import_bvh.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_anim_bvh/import_bvh.py b/io_anim_bvh/import_bvh.py
index f609ca6c..f06a1d87 100644
--- a/io_anim_bvh/import_bvh.py
+++ b/io_anim_bvh/import_bvh.py
@@ -650,7 +650,7 @@ def bvh_node_dict2armature(
# finally apply matrix
arm_ob.matrix_world = global_matrix
- bpy.ops.object.transform_apply(rotation=True)
+ bpy.ops.object.transform_apply(location=False, rotation=True, scale=False)
return arm_ob