Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/versioning_280.c
| Show First 20 Lines • Show All 3,110 Lines • ▼ Show 20 Lines | if (!DNA_struct_elem_find(fd->filesdna, "bGPDstroke", "float", "gradient_f")) { | ||||
| gps->gradient_f = 1.0f; | gps->gradient_f = 1.0f; | ||||
| gps->gradient_s[0] = 1.0f; | gps->gradient_s[0] = 1.0f; | ||||
| gps->gradient_s[1] = 1.0f; | gps->gradient_s[1] = 1.0f; | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| /* enable the axis aligned ortho grid by default */ | |||||
| for (bScreen *screen = bmain->screens.first; screen; screen = screen->id.next) { | |||||
| for (ScrArea *area = screen->areabase.first; area; area = area->next) { | |||||
| for (SpaceLink *sl = area->spacedata.first; sl; sl = sl->next) { | |||||
| if (sl->spacetype == SPACE_VIEW3D) { | |||||
| View3D *v3d = (View3D *)sl; | |||||
| v3d->gridflag |= V3D_SHOW_ORTHO_GRID; | |||||
| } | |||||
| } | |||||
| } | |||||
| } | |||||
| } | } | ||||
| { | { | ||||
| if (!DNA_struct_elem_find(fd->filesdna, "bSplineIKConstraint", "short", "yScaleMode")) { | if (!DNA_struct_elem_find(fd->filesdna, "bSplineIKConstraint", "short", "yScaleMode")) { | ||||
| for (Object *ob = bmain->objects.first; ob; ob = ob->id.next) { | for (Object *ob = bmain->objects.first; ob; ob = ob->id.next) { | ||||
| if (ob->pose) { | if (ob->pose) { | ||||
| for (bPoseChannel *pchan = ob->pose->chanbase.first; pchan; pchan = pchan->next) { | for (bPoseChannel *pchan = ob->pose->chanbase.first; pchan; pchan = pchan->next) { | ||||
| for (bConstraint *con = pchan->constraints.first; con; con = con->next) { | for (bConstraint *con = pchan->constraints.first; con; con = con->next) { | ||||
| Show All 15 Lines | |||||