Blender Git Loki

Git Commits -> Revision c7c070c

Revision c7c070c by Dalai Felinto (master)
February 2, 2018, 14:25 (GMT)
Collections: Operator to duplicate a collection

When duplicating a layer collection directly linked to the view layer we copy
the collection and link it.

For all the not directly linked layer collectionns, we try to sync the layer
collection flags, overrides, ...

Also we make sure the new collection is right after the original collection.

We also expose this in RNA, via collection.duplicate().

Commit Details:

Full Hash: c7c070c2ece0f41772cbcfe3445f3e0be684dd1d
Parent Commit: a4d2b10
Lines Changed: +346, -17

10 Modified Paths:

/release/scripts/startup/bl_ui/space_outliner.py (+1, -0) (Diff)
/source/blender/blenkernel/BKE_collection.h (+1, -0) (Diff)
/source/blender/blenkernel/BKE_layer.h (+7, -0) (Diff)
/source/blender/blenkernel/intern/collection.c (+50, -5) (Diff)
/source/blender/blenkernel/intern/layer.c (+152, -12) (Diff)
/source/blender/editors/space_outliner/outliner_collections.c (+80, -0) (Diff)
/source/blender/editors/space_outliner/outliner_intern.h (+1, -0) (Diff)
/source/blender/editors/space_outliner/outliner_ops.c (+1, -0) (Diff)
/source/blender/editors/space_outliner/outliner_tools.c (+7, -0) (Diff)
/source/blender/makesrna/intern/rna_layer.c (+46, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021