Blender Git Loki

Git Commits -> Revision 6a63877

Revision 6a63877 by Julian Eisel (asset-browser)
December 2, 2020, 16:26 (GMT)
Asset Browser: "Make Asset" operator and UI integration

Exposes "Make Asset" in Outliner context menus and button context menus.

The Outliner can tell operators which IDs are selected via a new "selected_ids"
context member. We can use that for more operators and editors in future.
Other UI code can set a new "focused_id" context member (automatically done for
ID pointer property buttons). That way, data-block search menus or other
buttons representing a data-block (e.g. materal slots) can hand an ID to
operators via context.

Differential Revision: https://developer.blender.org/D9717

Commit Details:

Full Hash: 6a63877072b6099e2f41e53629747c7f35b63427
Parent Commit: 9e3ac31
Lines Changed: +39, -45

2 Modified Paths:

/source/blender/blenkernel/intern/icons.c (+1, -1) (Diff)
/source/blender/editors/asset/asset_ops.c (+38, -44) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021