diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-06-04 15:36:53 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-06-04 15:39:51 +0300 |
commit | 33e8db94b1e7df2bd7fdbf15b96368c8d16d3b4e (patch) | |
tree | 949716a11cd46cf023cf0340dd42077f86843a04 /release/scripts/modules/bpy/ops.py | |
parent | 1d2e4c44bddeb21e04f6ef73b96b51a759a3352e (diff) |
Fix (unreported) missing updates in scripts/docs after `scene.update()` removal.
This should really have been done together with API changes, simple
usage of grep does the trick to catch most places needing updates.
Diffstat (limited to 'release/scripts/modules/bpy/ops.py')
-rw-r--r-- | release/scripts/modules/bpy/ops.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/modules/bpy/ops.py b/release/scripts/modules/bpy/ops.py index 41fb0e411de..0697b7fddc9 100644 --- a/release/scripts/modules/bpy/ops.py +++ b/release/scripts/modules/bpy/ops.py @@ -160,7 +160,8 @@ class BPyOpsSubModOp: else: import bpy for scene in bpy.data.scenes: - scene.update() + for view_layer in scene.view_layers: + view_layer.update() __doc__ = property(_get_doc) |