Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/versioning_270.c
| Show First 20 Lines • Show All 817 Lines • ▼ Show 20 Lines | if (!DNA_struct_elem_find(fd->filesdna, "FileSelectParams", "int", "thumbnail_size")) { | ||||
| sfile->params->thumbnail_size = 128; | sfile->params->thumbnail_size = 128; | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| if (!DNA_struct_elem_find(fd->filesdna, "RenderData", "short", "simplify_subsurf_render")) { | |||||
| Scene *scene; | |||||
| for (scene = main->scene.first; scene != NULL; scene = scene->id.next) { | |||||
| scene->r.simplify_subsurf_render = scene->r.simplify_subsurf; | |||||
| scene->r.simplify_particles_render = scene->r.simplify_particles; | |||||
| } | |||||
| } | |||||
| } | } | ||||