Blender Git Commit Log

Git Commits -> Revision dd7c341

July 30, 2021, 14:51 (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: dd7c341c32c487f82451b05a4a82c1b1175dcb92
Parent Commit: 58d1fe4
Committed By: Fabian Schempp
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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021