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_scene_fbx/export_fbx_bin.py | |
parent | b455cbf6b1074074c45cb365721b2d61a8004320 (diff) |
Update for Depsgraph API changes
Reviewers: sergey
Differential Revision: https://developer.blender.org/D4883
Diffstat (limited to 'io_scene_fbx/export_fbx_bin.py')
-rw-r--r-- | io_scene_fbx/export_fbx_bin.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/io_scene_fbx/export_fbx_bin.py b/io_scene_fbx/export_fbx_bin.py index a64e9a83..eb29e5b5 100644 --- a/io_scene_fbx/export_fbx_bin.py +++ b/io_scene_fbx/export_fbx_bin.py @@ -3182,7 +3182,8 @@ def save(operator, context, scene.unit_settings.system_rotation = best_src_scene.unit_settings.system_rotation scene.unit_settings.scale_length = best_src_scene.unit_settings.scale_length - scene.update() + # new scene [only one viewlayer to update] + scene.view_layers[0].update() # TODO - BUMMER! Armatures not in the group wont animate the mesh else: scene = data |