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 'light_field_tools/light_field_tools.py')
-rw-r--r--light_field_tools/light_field_tools.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/light_field_tools/light_field_tools.py b/light_field_tools/light_field_tools.py
index 5ab2092f..f49a54f7 100644
--- a/light_field_tools/light_field_tools.py
+++ b/light_field_tools/light_field_tools.py
@@ -322,12 +322,12 @@ class OBJECT_OT_create_lightfield_basemesh(Operator):
scene = bpy.context.scene
for o in scene.objects:
- o.select = False
+ o.select_set(False)
mesh.update()
nobj = bpy.data.objects.new(self.objName, mesh)
scene.objects.link(nobj)
- nobj.select = True
+ nobj.select_set(True)
if scene.objects.active is None or scene.objects.active.mode == 'OBJECT':
scene.objects.active = nobj