Blender Git Commit Log
Git Commits -> Revision 9ecbd67
Revision 9ecbd67 by Alexander Gavrilov (master) September 6, 2019, 19:05 (GMT) |
Python API: implement an Operator callback for dynamic description. Blender UI Layout API allows supplying parameters to operators via button definitions. If an operator behavior strongly depends on its parameters, it may be difficult to write a tooltip that covers all of its operation modes. Thus it is useful to provide a way for the operator to produce different descriptions based on the input info. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D5709 |
Commit Details:
Full Hash: 9ecbd67dfb672cd13f021c82d83aeb7ae8a8cf10
Parent Commit: b0b24b7
Lines Changed: +114, -14
8 Modified Paths:
/source/blender/editors/interface/interface.c (+4, -1) (Diff)
/source/blender/editors/interface/interface_region_tooltip.c (+5, -9) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+35, -1) (Diff)
/source/blender/makesrna/intern/rna_wm_api.c (+12, -0) (Diff)
/source/blender/python/intern/bpy_rna.c (+18, -3) (Diff)
/source/blender/windowmanager/intern/wm_operator_type.c (+31, -0) (Diff)
/source/blender/windowmanager/WM_api.h (+3, -0) (Diff)
/source/blender/windowmanager/WM_types.h (+6, -0) (Diff)
/source/blender/editors/interface/interface_region_tooltip.c (+5, -9) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+35, -1) (Diff)
/source/blender/makesrna/intern/rna_wm_api.c (+12, -0) (Diff)
/source/blender/python/intern/bpy_rna.c (+18, -3) (Diff)
/source/blender/windowmanager/intern/wm_operator_type.c (+31, -0) (Diff)
/source/blender/windowmanager/WM_api.h (+3, -0) (Diff)
/source/blender/windowmanager/WM_types.h (+6, -0) (Diff)