Blender Git Loki

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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021