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:
authorPhilipp Oeser <info@graphics-engineer.com>2019-05-17 13:36:11 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2019-05-17 15:18:02 +0300
commit222969e3805359444579d7ab96d75b93c73212fe (patch)
tree6b9985a4fc81544b428ce6d03d713ca11f9498ed /add_mesh_discombobulator
parentb455cbf6b1074074c45cb365721b2d61a8004320 (diff)
Update for Depsgraph API changes
Reviewers: sergey Differential Revision: https://developer.blender.org/D4883
Diffstat (limited to 'add_mesh_discombobulator')
-rw-r--r--add_mesh_discombobulator/mesh_discombobulator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/add_mesh_discombobulator/mesh_discombobulator.py b/add_mesh_discombobulator/mesh_discombobulator.py
index dd7acb29..c5480447 100644
--- a/add_mesh_discombobulator/mesh_discombobulator.py
+++ b/add_mesh_discombobulator/mesh_discombobulator.py
@@ -527,7 +527,7 @@ def discombobulate(self, minHeight, maxHeight, minTaper, maxTaper, sf1, sf2, sf3
bpy.ops.object.select_pattern(pattern=object1.name, extend=False)
bpy.context.view_layer.objects.active = bpy.data.objects[object1.name]
- bpy.context.scene.update()
+ bpy.context.view_layer.update()
# translate, scale and rotate discombobulated results
object1.location = to_translate