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 /add_mesh_discombobulator/mesh_discombobulator.py | |
parent | b455cbf6b1074074c45cb365721b2d61a8004320 (diff) |
Update for Depsgraph API changes
Reviewers: sergey
Differential Revision: https://developer.blender.org/D4883
Diffstat (limited to 'add_mesh_discombobulator/mesh_discombobulator.py')
-rw-r--r-- | add_mesh_discombobulator/mesh_discombobulator.py | 2 |
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 |