Blender Git Loki

Git Commits -> Revision 6776607

Revision 6776607 by Hans Goudey (property-search-ui-v2)
July 23, 2020, 17:21 (GMT)
UI: Use an operator to set the property editor's pinned data-block

This is another change pulled from the `property-search-ui` branch. This is useful
because it means the pin button doesn't have to be a custom button defined in C.

Replacing the use of button callbacks with operators is always nice too.

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

Commit Details:

Full Hash: 67766079133d484f791ee1188e21c70f857c3cea
Parent Commit: 6f3c37a
Lines Changed: +36, -20

4 Modified Paths:

/source/blender/editors/space_buttons/buttons_context.c (+7, -20) (Diff)
/source/blender/editors/space_buttons/buttons_intern.h (+1, -0) (Diff)
/source/blender/editors/space_buttons/buttons_ops.c (+27, -0) (Diff)
/source/blender/editors/space_buttons/space_buttons.c (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021