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:
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
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue