Blender Git Loki
Git Commits -> Revision 87a7299
Revision 87a7299 by Julian Eisel (temp-asset-browser-poselib-merge) July 14, 2021, 16:17 (GMT) |
UI: Internal support for custom UI list item drag & activate operators For pose libraries, we need to be able to apply a pose whenever activating (clicking) an item in the Pose Library asset view and blend it by dragging (press & move). And since we want to allow Python scripts to define what happens at least when activating an asset (so they can define for example a custom "Apply" operator for preset assets), it makes sense to just let them pass an operator name to the asset view template. The template will be introduced in a following commit. |
Commit Details:
Full Hash: 87a7299ef56c5e5fb4f1d955412c90254b5eb7c6
Parent Commit: d403761
Lines Changed: +382, -30
8 Modified Paths:
/source/blender/editors/include/UI_interface.h (+9, -0) (Diff)
/source/blender/editors/interface/interface_handlers.c (+196, -18) (Diff)
/source/blender/editors/interface/interface_intern.h (+19, -7) (Diff)
/source/blender/editors/interface/interface_panel.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_query.c (+91, -4) (Diff)
/source/blender/editors/interface/interface_templates.c (+49, -0) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+11, -0) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+6, -0) (Diff)
/source/blender/editors/interface/interface_handlers.c (+196, -18) (Diff)
/source/blender/editors/interface/interface_intern.h (+19, -7) (Diff)
/source/blender/editors/interface/interface_panel.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_query.c (+91, -4) (Diff)
/source/blender/editors/interface/interface_templates.c (+49, -0) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+11, -0) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+6, -0) (Diff)