UI: Skip Internal Operators For Idle Status Bar
During idle time, just moving your mouse into an editor, the Status Bar only shows operations attached to mouse events. Hovering into Properties shows an item on the left mouse called "Set Active Modifier". This is always shown because it is an internal operator always running in that area. This PR just skips OPTYPE_INTERNAL operators for this idle display. Pull Request: https://projects.blender.org/blender/blender/pulls/134782
This commit is contained in:
committed by
Harley Acheson
parent
f8195e0bb4
commit
9c374fbb93
@@ -6596,6 +6596,10 @@ void WM_window_cursor_keymap_status_refresh(bContext *C, wmWindow *win)
|
||||
name = TIP_("Options");
|
||||
}
|
||||
else if (ot) {
|
||||
/* Skip internal operators. */
|
||||
if (ot->flag & OPTYPE_INTERNAL) {
|
||||
continue;
|
||||
}
|
||||
name = WM_operatortype_name(ot, kmi->ptr);
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user