diff options
author | NBurn <7nburn@gmail.com> | 2019-01-29 17:08:23 +0300 |
---|---|---|
committer | NBurn <7nburn@gmail.com> | 2019-01-29 17:08:23 +0300 |
commit | 5c994fde52196dfe8a7e0db03b6935bac001d353 (patch) | |
tree | a7836a0741695b78df699e59a30f2a527202a815 /object_print3d_utils | |
parent | 8b93448f56ecdf9c91ad1b6297580eedf1f6e18f (diff) |
addons: more view_layer syntax updates
Diffstat (limited to 'object_print3d_utils')
-rw-r--r-- | object_print3d_utils/export.py | 2 |
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)) |