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 /io_scene_3ds
parentb455cbf6b1074074c45cb365721b2d61a8004320 (diff)
Update for Depsgraph API changes
Reviewers: sergey Differential Revision: https://developer.blender.org/D4883
Diffstat (limited to 'io_scene_3ds')
-rw-r--r--io_scene_3ds/import_3ds.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_3ds/import_3ds.py b/io_scene_3ds/import_3ds.py
index 7434855b..a6f2e3cb 100644
--- a/io_scene_3ds/import_3ds.py
+++ b/io_scene_3ds/import_3ds.py
@@ -945,7 +945,7 @@ def load_3ds(filepath,
ob.sel = 1
"""
- context.scene.update()
+ context.view_layer.update()
axis_min = [1000000000] * 3
axis_max = [-1000000000] * 3