Blender Git Loki

Git Commits -> Revision 0dc203a

Revision 0dc203a by Julian Eisel (soc-2016-layer_manager)
May 28, 2016, 13:22 (GMT)
Add operator to remove layers

Calling the operator deletes all selected layer items, if a group is selected, all its nested layer items are deleted too.
Also adds another handy iterator, BKE_layeritem_iterate_childs.

Design ToDo: We need to decide what happens with the objects (or GPencil strokes, masks, ...) assigned to a layer when deleting the layer.

Commit Details:

Full Hash: 0dc203a9f5cb26c352f239c2b10885e432661301
Parent Commit: a208942
Lines Changed: +92, -0

6 Modified Paths:

/release/scripts/startup/bl_ui/space_layers.py (+1, -0) (Diff)
/source/blender/blenkernel/BKE_layer.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/layer.c (+13, -0) (Diff)
/source/blender/editors/space_layers/layers_intern.h (+4, -0) (Diff)
/source/blender/editors/space_layers/layers_ops.c (+49, -0) (Diff)
/source/blender/editors/space_layers/layers_util.c (+23, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021