EEVEE-Next: Per probe viewport display #114176

Merged
Miguel Pozo merged 8 commits from pragma37/blender:pull-eevee-probes-display into main 2023-11-02 17:08:22 +01:00
1 changed files with 7 additions and 0 deletions
Showing only changes of commit dde809cb09 - Show all commits

View File

@ -1744,5 +1744,12 @@ void blo_do_versions_400(FileData *fd, Library * /*lib*/, Main *bmain)
MA_SURFACE_METHOD_DEFERRED;
}
}
if (!DNA_struct_member_exists(fd->filesdna, "LightProbe", "float", "show_data_size")) {
LightProbe default_probe = *DNA_struct_default_get(LightProbe);
LISTBASE_FOREACH (LightProbe *, probe, &bmain->lightprobes) {
probe->show_data_size = default_probe.show_data_size;
}
}
}
}