Bugfix #26270
authorTon Roosendaal <ton@blender.org>
Fri, 4 Mar 2011 18:39:58 +0000 (18:39 +0000)
committerTon Roosendaal <ton@blender.org>
Fri, 4 Mar 2011 18:39:58 +0000 (18:39 +0000)
commit882514d28f074b37c1c7690a58c6979fcde56c45
tree03b01a92c8163146cadaf8eeaa6046819d9254ad
parent9d5c6bbe3dd5ebb7de05db482940b3e7207e8cd4
Bugfix #26270

Transform started with button in Toolbar was drawing the helper
line badly.

This needed two fixes:
- helper line now has poll() callback to check for correct region
- event system needs to set 'subwinactive' for modal handlers too

The latter might fix issues with cursor/overlay drawing in other
cases?
source/blender/editors/transform/transform.c
source/blender/windowmanager/intern/wm_event_system.c