diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2019-05-17 13:36:11 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2019-05-17 15:18:02 +0300 |
commit | 222969e3805359444579d7ab96d75b93c73212fe (patch) | |
tree | 6b9985a4fc81544b428ce6d03d713ca11f9498ed /io_anim_bvh | |
parent | b455cbf6b1074074c45cb365721b2d61a8004320 (diff) |
Update for Depsgraph API changes
Reviewers: sergey
Differential Revision: https://developer.blender.org/D4883
Diffstat (limited to 'io_anim_bvh')
-rw-r--r-- | io_anim_bvh/import_bvh.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_anim_bvh/import_bvh.py b/io_anim_bvh/import_bvh.py index f06a1d87..e43b6090 100644 --- a/io_anim_bvh/import_bvh.py +++ b/io_anim_bvh/import_bvh.py @@ -521,7 +521,7 @@ def bvh_node_dict2armature( # Quats default pass - context.scene.update() + context.view_layer.update() arm_ob.animation_data_create() action = bpy.data.actions.new(name=bvh_name) |