Blender Git Commit Log
Git Commits -> Revision c2d3792
Revision c2d3792 by Alexander Gavrilov (master) September 9, 2019, 18: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: c2d37929b4aaaef87bad1d2e90cc76d0c4765e8d
Parent Commit: ee9fb17
Lines Changed: +3, -1