Fix T64266: Incorrect modifier object target after making duplicates real for instanced collections.

Not sure why newid was set in evaluated object instead of orig one,
makes no sense to me, since we want to operate remapping of ID pointers
on orig data? Looks like that was something overseen when that code was
ported to new COW system.
This commit is contained in:
Bastien Montagne 2019-05-08 15:50:50 +02:00
parent 3b9813fe50
commit 44d4fdec7e
Notes: blender-bot 2023-02-14 05:41:57 +01:00
Referenced by issue #64266, Incorrect modifier object target after making duplicates real for instanced collections
1 changed files with 1 additions and 1 deletions

View File

@ -1656,7 +1656,7 @@ static void make_object_duplilist_real(
for (dob = lb_duplis->first; dob; dob = dob->next) {
Object *ob_src = DEG_get_original_object(dob->ob);
Object *ob_dst = ID_NEW_SET(dob->ob, BKE_object_copy(bmain, ob_src));
Object *ob_dst = ID_NEW_SET(ob_src, BKE_object_copy(bmain, ob_src));
Base *base_dst;
/* font duplis can have a totcol without material, we get them from parent