Blender Git Loki
Git Commits -> Revision 594c857
Revision 594c857 by Julian Eisel (master) October 21, 2021, 14:36 (GMT) |
Fix tooltip disabled hint not using correct context from the button To display the "disabled hint" (text explaining why a button is disabled) in a tooltip, it would run the operator poll callback, which could then set a poll message. But the context for the poll check wasn't the one from the button, so the poll may give a different result (and disabled hint) than the check of the button itself did. Make sure it uses the exact context from the button. |
Commit Details:
Full Hash: 594c857f652b7f9283b299e1e82cd7dc324f8ffe
Parent Commit: 16c79d3
Lines Changed: +3, -2
1 Modified Path:
/source/blender/editors/interface/interface_region_tooltip.c (+3, -2) (Diff)