Fix #109019: Crash when creating a new collection for light linking #109049

Merged
Sergey Sharybin merged 1 commits from Sergey/blender:fix_109019 into main 2023-06-16 10:33:08 +02:00
1 changed files with 1 additions and 1 deletions

View File

@ -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) {