Blender Git Loki

Git Commits -> Revision e7ea99a

Revision e7ea99a by Dalai Felinto (master)
March 1, 2019, 14:44 (GMT)
Outliner: Collection - Duplicate Hierarchy, and Duplicate Linked Hierarchy

As per the suggestion on T57064, this introduces two new options to duplicate collections.
We then have:
* Duplicate > Collection (New collection with linked content).
* Duplicate > Hierachy (Duplicate entire hierarchy and make all contents single user).
* Duplicate > Linked Hierarchy (Duplicate entire hierarchy keeping content linked with original).

Development TODO: `single_object_users` can/should use the new functions.

Reviewers: brecht, mont29

Subscribers: pablovazquez, billreynish, JulienKaspar

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

Commit Details:

Full Hash: e7ea99af1b0d933b9323be39d8b1c6f683bfba52
Parent Commit: 619c65a
Lines Changed: +354, -221

9 Modified Paths:

/release/scripts/startup/bl_ui/space_outliner.py (+13, -1) (Diff)
/source/blender/blenkernel/BKE_collection.h (+4, -2) (Diff)
/source/blender/blenkernel/BKE_object.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/collection.c (+62, -3) (Diff)
/source/blender/blenkernel/intern/object.c (+234, -0) (Diff)
/source/blender/editors/object/object_add.c (+1, -213) (Diff)
/source/blender/editors/space_outliner/outliner_collections.c (+34, -2) (Diff)
/source/blender/editors/space_outliner/outliner_intern.h (+2, -0) (Diff)
/source/blender/editors/space_outliner/outliner_ops.c (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021