Blender Git Loki

Git Commits -> Revision ae1dc8f

Revision ae1dc8f by Julian Eisel (master)
July 15, 2021, 14:12 (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: ae1dc8f5f98d045b11312401d6f93d0eae15ddc5
Parent Commit: 00c7ea6
Committed By: Sybren A. Stüvel
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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021