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:
Harley Acheson
2025-02-19 19:25:14 +01:00
committed by Harley Acheson
parent f8195e0bb4
commit 9c374fbb93

View File

@@ -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 {