Blender Git Loki

Git Commits -> Revision 0a32f6c

Revision 0a32f6c by Philipp Oeser (master)
May 15, 2020, 11:32 (GMT)
Fix T76710: objects get lost in linked/overridden collections

Right now:
- drag-drop in the Outliner prevents dropping inside linked collections
- drag-drop in the Outliner allows dropping inside overridden
collections (should not be the case)
- `Object Properties` > `Collections` panel allows to add to overridden
collection (should not be the case)
- `Object Properties` > `Collections` panel filters out non-local
collections (so adding to linked collections is forbidden)
- `bpy collection.objects.link()` allows to add to linked collections
(should not be the case)
- `bpy collection.objects.link()` allows to add to overridden
collections (should not be the case)

While this might be supported in the future for overriden collections,
these cases should not be allowed atm. since objects get lost on file
reload.

Note: for the case of the `Object Properties` > `Collections` panel,
this could be improved further to filter out overridden collections as
well.

Reviewers: mont29, brecht

Subscribers:

Commit Details:

Full Hash: 0a32f6c8686c6a14a052f5b254655b3b69a581e3
Parent Commit: 0ae64a9
Lines Changed: +37, -0

3 Modified Paths:

/source/blender/editors/object/object_collection.c (+16, -0) (Diff)
/source/blender/editors/space_outliner/outliner_dragdrop.c (+4, -0) (Diff)
/source/blender/makesrna/intern/rna_collection.c (+17, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021