[Bf-extensions-cvs] [52a2a761] master: Object Color Rules: fix object selection

Damien Picard noreply at git.blender.org
Fri Jun 10 09:59:03 CEST 2022


Commit: 52a2a761c49ab59842b440990a3b58bccfbb3dab
Author: Damien Picard
Date:   Wed Feb 24 16:14:58 2021 +0100
Branches: master
https://developer.blender.org/rBA52a2a761c49ab59842b440990a3b58bccfbb3dab

Object Color Rules: fix object selection

===================================================================

M	object_color_rules.py

===================================================================

diff --git a/object_color_rules.py b/object_color_rules.py
index 52011366..f404c06e 100644
--- a/object_color_rules.py
+++ b/object_color_rules.py
@@ -172,7 +172,7 @@ def object_colors_select(rule, objects):
     test_cb = getattr(rule_test, rule_type)
 
     for obj in objects:
-        obj.select = test_cb(obj, rule, cache)
+        obj.select_set(test_cb(obj, rule, cache))
 
 
 def object_colors_rule_validate(rule, report):



More information about the Bf-extensions-cvs mailing list