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.
Showing only changes of commit 3f8c806b51 - Show all commits

View File

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