Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/versioning_legacy.c
| Show First 20 Lines • Show All 538 Lines • ▼ Show 20 Lines | if (bmain->versionfile <= 104) { | ||||
| while (ob) { | while (ob) { | ||||
| if (ob->transflag & 1) { | if (ob->transflag & 1) { | ||||
| ob->transflag -= 1; | ob->transflag -= 1; | ||||
| } | } | ||||
| ob = ob->id.next; | ob = ob->id.next; | ||||
| } | } | ||||
| } | } | ||||
| if (bmain->versionfile <= 105) { | |||||
| Object *ob = bmain->object.first; | |||||
| while (ob) { | |||||
| ob->dupon = 1; | |||||
| ob->dupoff = 0; | |||||
| ob->dupsta = 1; | |||||
| ob->dupend = 100; | |||||
| ob = ob->id.next; | |||||
| } | |||||
| } | |||||
| if (bmain->versionfile <= 106) { | if (bmain->versionfile <= 106) { | ||||
| /* mcol changed */ | /* mcol changed */ | ||||
| Mesh *me = bmain->mesh.first; | Mesh *me = bmain->mesh.first; | ||||
| while (me) { | while (me) { | ||||
| if (me->mcol) | if (me->mcol) | ||||
| vcol_to_fcol(me); | vcol_to_fcol(me); | ||||
| me = me->id.next; | me = me->id.next; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 2,008 Lines • Show Last 20 Lines | |||||