Blender Git Loki
Git Commits -> Revision bc97c0d
Revision bc97c0d by Alexander Gavrilov (temp-lanpr-staging) September 12, 2019, 01:13 (GMT) |
Fix T69633: weird behavior of operator_menu_enum tooltips. For operators with dynamic tooltips the tooltip calculation is deferred until the moment it is actually shown for performance reasons, with the tooltip field left blank for the time being. Enum menu code shouldn't jump in and assign a tooltip either. The menu button itself can't show a dynamic tooltip because it does not actually call the operator, and has no reference to it. As a side change, allow returning None from the python callback as the most natural way to fall back to the default tooltip. |
Commit Details:
Full Hash: bc97c0d8b962f6fe06000be787fd9fc436199383
Parent Commit: e5513df
Committed By: YimingWu
Lines Changed: +3, -1