Fix T84455: Circle select tool cursor draws in overlapping regions

This commit is contained in:
Campbell Barton 2021-01-12 14:19:32 +11:00
parent acbda123ad
commit 55059af01d
Notes: blender-bot 2023-02-13 19:59:03 +01:00
Referenced by issue #84455, A circle around the cursor appears in the top panel of 3D Viewport
1 changed files with 1 additions and 1 deletions

View File

@ -1004,7 +1004,7 @@ def _activate_by_item(context, space_type, item, index, *, as_fallback=False):
if item.draw_cursor is not None:
def handle_fn(context, item, tool, xy):
item.draw_cursor(context, tool, xy)
handle = WindowManager.draw_cursor_add(handle_fn, (context, item, tool), space_type)
handle = WindowManager.draw_cursor_add(handle_fn, (context, item, tool), space_type, 'WINDOW')
handle_map[space_type] = handle