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:
Diffstat (limited to 'add_mesh_extra_objects/geodesic_domes/vefm_271.py')
-rw-r--r--add_mesh_extra_objects/geodesic_domes/vefm_271.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/add_mesh_extra_objects/geodesic_domes/vefm_271.py b/add_mesh_extra_objects/geodesic_domes/vefm_271.py
index 4b5f68e7..4c7fc19d 100644
--- a/add_mesh_extra_objects/geodesic_domes/vefm_271.py
+++ b/add_mesh_extra_objects/geodesic_domes/vefm_271.py
@@ -833,7 +833,7 @@ class importmesh(mesh):
mesh.__init__(self)
obj = bpy.data.objects[meshname]
- bpy.context.scene.objects.active = obj
+ bpy.context.view_layer.objects.active = obj
obj.select_set(True)
impmesh = None
if not breakquadflag: