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 /add_mesh_extra_objects/add_mesh_round_brilliant.py | |
parent | bdc109a5309b26c718a3ae0ca6f2393c731fde0d (diff) |
addons: view_layer.objects.active syntax update
Diffstat (limited to 'add_mesh_extra_objects/add_mesh_round_brilliant.py')
-rw-r--r-- | add_mesh_extra_objects/add_mesh_round_brilliant.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/add_mesh_extra_objects/add_mesh_round_brilliant.py b/add_mesh_extra_objects/add_mesh_round_brilliant.py index 2d653f9e..90673ed4 100644 --- a/add_mesh_extra_objects/add_mesh_round_brilliant.py +++ b/add_mesh_extra_objects/add_mesh_round_brilliant.py @@ -224,7 +224,7 @@ def addBrilliant(context, s, table_w, crown_h, girdle_t, pavi_d, bezel_f, scene = bpy.context.scene # deactivate possible active Objects - bpy.context.scene.objects.active = None + bpy.context.view_layer.objects.active = None # create actual mesh and object based on Verts and Faces given dmesh = bpy.data.meshes.new("dmesh") |