[Bf-blender-cvs] [55059af01d8] master: Fix T84455: Circle select tool cursor draws in overlapping regions
Campbell Barton
noreply at git.blender.org
Tue Jan 12 04:20:31 CET 2021
Commit: 55059af01d8bdea7d9c3d3ab313956dd85c106f8
Author: Campbell Barton
Date: Tue Jan 12 14:19:32 2021 +1100
Branches: master
https://developer.blender.org/rB55059af01d8bdea7d9c3d3ab313956dd85c106f8
Fix T84455: Circle select tool cursor draws in overlapping regions
===================================================================
M release/scripts/startup/bl_ui/space_toolsystem_common.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_toolsystem_common.py b/release/scripts/startup/bl_ui/space_toolsystem_common.py
index 748b5733433..12ec863327c 100644
--- a/release/scripts/startup/bl_ui/space_toolsystem_common.py
+++ b/release/scripts/startup/bl_ui/space_toolsystem_common.py
@@ -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
More information about the Bf-blender-cvs
mailing list