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:
authorVilem Duha <vilem.duha@gmail.com>2019-05-19 19:38:53 +0300
committerVilem Duha <vilem.duha@gmail.com>2019-05-19 19:38:53 +0300
commitb539bd244926c83d1b57a3b6ee1098f4af775ab2 (patch)
tree9e4513066eecff7340c5ffbbf1fe747da791c4de /blenderkit/autothumb_model_bg.py
parent99a9da09d370d0753450000d3f074fe0f230c417 (diff)
BlenderKit: get rid of scene.update()
Diffstat (limited to 'blenderkit/autothumb_model_bg.py')
-rw-r--r--blenderkit/autothumb_model_bg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/blenderkit/autothumb_model_bg.py b/blenderkit/autothumb_model_bg.py
index 7ed0aa7d..64f10d83 100644
--- a/blenderkit/autothumb_model_bg.py
+++ b/blenderkit/autothumb_model_bg.py
@@ -68,7 +68,7 @@ def center_obs_for_thumbnail(obs):
coef = .7
r *= coef
camZ.scale = (r, r, r)
- s.update()
+ bpy.context.view_layer.update()
def render_thumbnails():