Fix #109019: Crash when creating a new collection for light linking
A wrong DNA struct was used for writing light linking data. Pull Request: https://projects.blender.org/blender/blender/pulls/109049
This commit is contained in:
parent
e32f85c03e
commit
4a0468c1ed
|
@ -615,7 +615,7 @@ static void object_blend_write(BlendWriter *writer, ID *id, const void *id_addre
|
|||
BLO_write_struct(writer, LightgroupMembership, ob->lightgroup);
|
||||
}
|
||||
if (ob->light_linking) {
|
||||
BLO_write_struct(writer, LightgroupMembership, ob->light_linking);
|
||||
BLO_write_struct(writer, LightLinking, ob->light_linking);
|
||||
}
|
||||
|
||||
if (ob->lightprobe_cache) {
|
||||
|
|
Loading…
Reference in New Issue