Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/versioning_280.c
| Show First 20 Lines • Show All 4,217 Lines • ▼ Show 20 Lines | for (Object *ob = bmain->objects.first; ob; ob = ob->id.next) { | ||||
| clmd->sim_parms->pressure_factor = 1; | clmd->sim_parms->pressure_factor = 1; | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| { | { | ||||
| /* Versioning code until next subversion bump goes here. */ | /* Versioning code until next subversion bump goes here. */ | ||||
| /* Set the default render pass in the viewport to Combined. */ | |||||
| if (!DNA_struct_elem_find(fd->filesdna, "View3DShading", "int", "render_pass")) { | |||||
| for (bScreen *screen = bmain->screens.first; screen; screen = screen->id.next) { | |||||
| for (ScrArea *sa = screen->areabase.first; sa; sa = sa->next) { | |||||
| for (SpaceLink *sl = sa->spacedata.first; sl; sl = sl->next) { | |||||
| if (sl->spacetype == SPACE_VIEW3D) { | |||||
| View3D *v3d = (View3D *)sl; | |||||
| v3d->shading.render_pass = SCE_PASS_COMBINED; | |||||
| } | |||||
| } | |||||
| } | |||||
| } | |||||
| } | |||||
| } | } | ||||
| } | } | ||||