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:
authorNBurn <7nburn@gmail.com>2019-01-29 17:08:23 +0300
committerNBurn <7nburn@gmail.com>2019-01-29 17:08:23 +0300
commit5c994fde52196dfe8a7e0db03b6935bac001d353 (patch)
treea7836a0741695b78df699e59a30f2a527202a815 /object_print3d_utils
parent8b93448f56ecdf9c91ad1b6297580eedf1f6e18f (diff)
addons: more view_layer syntax updates
Diffstat (limited to 'object_print3d_utils')
-rw-r--r--object_print3d_utils/export.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/object_print3d_utils/export.py b/object_print3d_utils/export.py
index b0e6bc7b..d563b549 100644
--- a/object_print3d_utils/export.py
+++ b/object_print3d_utils/export.py
@@ -194,7 +194,7 @@ def write_mesh(context, info, report_cb):
for base in context_backup["selected_bases"]:
base.select_set(True)
del base
- scene.objects.active = context_backup["active_object"]
+ layer.objects.active = context_backup["active_object"]
if 'FINISHED' in ret:
info.append(("%r ok" % os.path.basename(filepath), None))