Fix #104660: Call object.select_set #104664

Closed
Jesse Yurkovich wants to merge 1 commits from deadpin/blender-addons:fix104660-wrongapi into blender-v3.6-release

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

View File

@ -657,7 +657,7 @@ class BTool_FindBrush(Operator):
bpy.ops.object.select_all(action="TOGGLE")
bpy.ops.object.select_all(action="DESELECT")
bpy.context.view_layer.objects.active = ob
ob.set_select(state=True)
ob.select_set(state=True)
return {"FINISHED"}