Fix #124817: Incorrect Cycles "Cast Shadow" versioning #124834
@ -4156,7 +4156,7 @@ void blo_do_versions_400(FileData *fd, Library * /*lib*/, Main *bmain)
|
||||
IDProperty *clight = version_cycles_properties_from_ID(&light->id);
|
||||
if (clight) {
|
||||
bool value = version_cycles_property_boolean(
|
||||
clight, "use_shadow", default_light->mode & LA_SHADOW);
|
||||
clight, "cast_shadow", default_light->mode & LA_SHADOW);
|
||||
SET_FLAG_FROM_TEST(light->mode, value, LA_SHADOW);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user