[Bf-blender-cvs] [dfbbc5067e4] master: Fix T64733: Error baking action
Philipp Oeser
noreply at git.blender.org
Fri May 17 10:50:59 CEST 2019
Commit: dfbbc5067e403fd85009686be041d8562be4bf74
Author: Philipp Oeser
Date: Fri May 17 10:40:44 2019 +0200
Branches: master
https://developer.blender.org/rBdfbbc5067e403fd85009686be041d8562be4bf74
Fix T64733: Error baking action
scene.update() needs to be replaced with view_layer.update() after
rBe693918d4074
note: will go over other occurances of scene.update() in a different
commit
===================================================================
M release/scripts/modules/bpy_extras/anim_utils.py
===================================================================
diff --git a/release/scripts/modules/bpy_extras/anim_utils.py b/release/scripts/modules/bpy_extras/anim_utils.py
index fa833b273ec..1ef97b24a3f 100644
--- a/release/scripts/modules/bpy_extras/anim_utils.py
+++ b/release/scripts/modules/bpy_extras/anim_utils.py
@@ -104,7 +104,7 @@ def bake_action_objects_iter(
if frame is None:
break
scene.frame_set(frame)
- scene.update()
+ bpy.context.view_layer.update()
for iter in iter_all:
iter.send(frame)
scene.frame_set(frame_back)
More information about the Bf-blender-cvs
mailing list