diff options
author | NBurn <7nburn@gmail.com> | 2019-01-25 06:59:16 +0300 |
---|---|---|
committer | NBurn <7nburn@gmail.com> | 2019-01-25 06:59:16 +0300 |
commit | c686df25d98bc6a08ad02b9f4f9cff6b4aee4805 (patch) | |
tree | 2ddb8dd6ee0fc2bd546bb95691c07b906aeab1cf /object_fracture_cell/__init__.py | |
parent | a6189ebcbe0fcee59f72147fcc160f7b47234354 (diff) |
addons: object select_set syntax update
Diffstat (limited to 'object_fracture_cell/__init__.py')
-rw-r--r-- | object_fracture_cell/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/object_fracture_cell/__init__.py b/object_fracture_cell/__init__.py index c1220374..f4122d33 100644 --- a/object_fracture_cell/__init__.py +++ b/object_fracture_cell/__init__.py @@ -72,7 +72,7 @@ def main_object(scene, obj, level, **kw): from . import fracture_cell_setup # not essential but selection is visual distraction. - obj.select = False + obj.select_set(False) if kw_copy["use_debug_redraw"]: obj_display_type_prev = obj.display_type @@ -198,7 +198,7 @@ def main(context, **kw): bpy.ops.object.select_all(action='DESELECT') for obj_cell in objects: - obj_cell.select = True + obj_cell.select_set(True) if mass_mode == 'UNIFORM': for obj_cell in objects: |