Blender Git Commit Log

Git Commits -> Revision 29c0b34

Revision 29c0b34 by Bastien Montagne (master)
March 23, 2021, 15:03 (GMT)
Fix (unreported) object duplicate code wrongly duplicating linked objects.

Linked data should only be duplicated if relevant `eDupli_ID_Flags` flag
is set (`USER_DUP_LINKED_ID`), this is being taken care of by generic
`BKE_id_copy_for_duplicate` function, but for some reasons (?)
`BKE_object_duplicate` was directly using `BKE_id_copy` for itself...

Note that this had especially bad consequences when duplicating
overrides of collections...

Commit Details:

Full Hash: 29c0b34b209e4fa0548a1ff0716751f1fcfb51d5
Parent Commit: 9f19d01
Lines Changed: +1, -5

1 Modified Path:

/source/blender/blenkernel/intern/object.c (+1, -5) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021