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_advanced_objects_panels/object_laplace_lightning.py')
-rw-r--r--add_advanced_objects_panels/object_laplace_lightning.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/add_advanced_objects_panels/object_laplace_lightning.py b/add_advanced_objects_panels/object_laplace_lightning.py
index 32d7b3f4..a28ff136 100644
--- a/add_advanced_objects_panels/object_laplace_lightning.py
+++ b/add_advanced_objects_panels/object_laplace_lightning.py
@@ -342,9 +342,9 @@ def writeArrayToCubes(arr, gridBU, orig, cBOOL=False, jBOOL=True):
# Selects all cubes w/ ?bpy.ops.object.join() b/c
# Can't join all cubes to a single mesh right... argh...
for q in bpy.context.scene.objects:
- q.select = False
+ q.select_set(False)
if q.name[0:5] == 'xCUBE':
- q.select = True
+ q.select_set(True)
bpy.context.scene.objects.active = q