Fix T65727: Broken button tool-tips in 3D view
Own error in 6868202899
.
This commit is contained in:
parent
fcb534e336
commit
aa0cd21da0
Notes:
blender-bot
2023-02-14 11:20:29 +01:00
Referenced by issue #65727, Tooltips in 3d view broken (except view gizmos)
|
@ -2794,8 +2794,11 @@ static int wm_handlers_do_intern(bContext *C, wmEvent *event, ListBase *handlers
|
|||
int part = -1;
|
||||
gz = wm_gizmomap_highlight_find(gzmap, C, event, &part);
|
||||
|
||||
if ((gz == NULL) || (prev.gz != gz) || (prev.part != part)) {
|
||||
WM_tooltip_clear(C, CTX_wm_window(C));
|
||||
/* If no gizmos are/were active, don't clear tool-tips. */
|
||||
if (gz || prev.gz) {
|
||||
if ((prev.gz != gz) || (prev.part != part)) {
|
||||
WM_tooltip_clear(C, CTX_wm_window(C));
|
||||
}
|
||||
}
|
||||
|
||||
if (wm_gizmomap_highlight_set(gzmap, C, gz, part)) {
|
||||
|
|
Loading…
Reference in New Issue