Blender Git Loki

Git Commits -> Revision 108d150

Revision 108d150 by Ton Roosendaal (master)
March 9, 2011, 18:42 (GMT)
From the todo:

Hanging Tooltips solved!

It appeared to be that an active button remained in that state when
another region/editor became active. It then kept the button-activate
state, and therefore also the optional tooltip.

This only happened on fast moves, when a mousemove event was not passed
on anymore to the previously active subwindow.

It has been solved with a new notifier (SWINACTIVE), which gets sent on
new active regions. The screen listener then calls uiFreeActiveButtons()
to find out if buttons were still active somewhere else.


Commit Details:

Full Hash: 108d150032a22f6eeb87253ec6ea5d4a88d1e8d8
SVN Revision: 35434
Parent Commit: 2b8fca9
Lines Changed: +38, -8

6 Modified Paths:

/source/blender/editors/include/ED_screen.h (+2, -2) (Diff)
/source/blender/editors/include/UI_interface.h (+1, -0) (Diff)
/source/blender/editors/interface/interface_handlers.c (+23, -2) (Diff)
/source/blender/editors/screen/screen_edit.c (+9, -2) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+2, -2) (Diff)
/source/blender/windowmanager/WM_types.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021