Blender Git Loki
Git Commits -> Revision 5438015
Revision 5438015 by Julian Eisel (asset-browser, asset-browser-poselib, asset-system-filelist, temp-pose-flipping-fix-attempt) March 31, 2021, 13:53 (GMT) |
Allow setting operator properties for the custom drag & activate OPs The asset view template now provides a way to set the operator properties of its custom drag & activate operators. In Python they are returned from `UILayout.template_asset_view()` as tuple. Includes some cleanup to better manage the data of the custom operators. |
Commit Details:
Full Hash: 5438015ade615453c0fccea9bc00341552e8cb24
Parent Commit: 80469a7
Lines Changed: +183, -59
12 Modified Paths:
/source/blender/blenkernel/BKE_screen.h (+5, -0) (Diff)
/source/blender/blenkernel/intern/screen.c (+2, -12) (Diff)
/source/blender/editors/include/UI_interface.h (+10, -1) (Diff)
/source/blender/editors/interface/interface_handlers.c (+38, -33) (Diff)
/source/blender/editors/interface/interface_intern.h (+1, -3) (Diff)
/source/blender/editors/interface/interface_panel.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_templates.c (+72, -0) (Diff)
/source/blender/editors/interface/interface_template_asset_view.cc (+19, -6) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+5, -0) (Diff)
/source/blender/makesrna/intern/rna_ui_api.c (+22, -2) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+2, -1) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+6, -0) (Diff)
/source/blender/blenkernel/intern/screen.c (+2, -12) (Diff)
/source/blender/editors/include/UI_interface.h (+10, -1) (Diff)
/source/blender/editors/interface/interface_handlers.c (+38, -33) (Diff)
/source/blender/editors/interface/interface_intern.h (+1, -3) (Diff)
/source/blender/editors/interface/interface_panel.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_templates.c (+72, -0) (Diff)
/source/blender/editors/interface/interface_template_asset_view.cc (+19, -6) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+5, -0) (Diff)
/source/blender/makesrna/intern/rna_ui_api.c (+22, -2) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+2, -1) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+6, -0) (Diff)