Blender Git Loki

Git Commits -> Revision 3ec6e2c

November 1, 2017, 12:03 (GMT)
Groups and collections 2/3

This allow a new collection of type "Group". To add it hold shift when creating a
new collection in a view layer.

Note: This introduces a big hack because I couldn't get Depsgraph to behave as I
wanted. Look for DEG_COLLECTION_GROUP.

Pending tasks:
* Prevent drag and drop of collections that belong to a group unless:
** The group is local
** The source and destination are from the same group
* Prevent changing any of a group nested collections values if the group is lib
* Disable selectability for group collections

Coming next:
* Allow creation of groups from collection
** This will replace the collection with a Group collection with the newly
created group.

Commit Details:

Full Hash: 3ec6e2c126a1f2bd81a05c3f1c119c919e2b2ff7
Parent Commit: 7c0cafd
Lines Changed: +452, -47

23 Modified Paths:

/release/scripts/startup/bl_ui/properties_collection.py (+19, -0) (Diff)
/source/blender/alembic/intern/alembic_capi.cc (+1, -1) (Diff)
/source/blender/blenkernel/BKE_collection.h (+4, -1) (Diff)
/source/blender/blenkernel/BKE_layer.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/collection.c (+28, -1) (Diff)
/source/blender/blenkernel/intern/group.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/layer.c (+110, -17) (Diff)
/source/blender/blenloader/intern/readfile.c (+5, -1) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+1, -1) (Diff)
/source/blender/depsgraph/DEG_depsgraph_query.h (+2, -0) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc (+9, -0) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes_layer.cc (+15, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+14, -0) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.h (+7, -3) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations_layer.cc (+39, -6) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations_scene.cc (+1, -1) (Diff)
/source/blender/depsgraph/intern/depsgraph_query.cc (+68, -3) (Diff)
/source/blender/editors/space_outliner/outliner_collections.c (+61, -6) (Diff)
/source/blender/editors/space_outliner/outliner_draw.c (+6, -0) (Diff)
/source/blender/editors/space_outliner/outliner_tools.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_layer_types.h (+8, -1) (Diff)
/source/blender/makesrna/intern/rna_layer.c (+49, -1) (Diff)
/source/blender/makesrna/RNA_enum_types.h (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021