diff options
author | NBurn <7nburn@gmail.com> | 2019-01-29 04:04:35 +0300 |
---|---|---|
committer | NBurn <7nburn@gmail.com> | 2019-01-29 04:04:35 +0300 |
commit | edd2de62eb13284f7e02256701fec1483973018d (patch) | |
tree | 02a6ab0c10b9131e346d2e55b36bfd14873fafa3 /mesh_tissue/uv_to_mesh.py | |
parent | bdc109a5309b26c718a3ae0ca6f2393c731fde0d (diff) |
addons: view_layer.objects.active syntax update
Diffstat (limited to 'mesh_tissue/uv_to_mesh.py')
-rw-r--r-- | mesh_tissue/uv_to_mesh.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesh_tissue/uv_to_mesh.py b/mesh_tissue/uv_to_mesh.py index 8ae59c6f..a544ff64 100644 --- a/mesh_tissue/uv_to_mesh.py +++ b/mesh_tissue/uv_to_mesh.py @@ -177,7 +177,7 @@ class uv_to_mesh(Operator): ob0.select_set(True) bpy.ops.object.delete(use_global=False) ob.select_set(True) - bpy.context.scene.objects.active = ob + bpy.context.view_layer.objects.active = ob return {'FINISHED'} |