Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/versioning_280.c
| Show First 20 Lines • Show All 3,358 Lines • ▼ Show 20 Lines | if (!MAIN_VERSION_ATLEAST(bmain, 280, 38)) { | ||||
| } | } | ||||
| for (World *world = bmain->worlds.first; world; world = world->id.next) { | for (World *world = bmain->worlds.first; world; world = world->id.next) { | ||||
| world->flag &= ~(WO_MODE_UNUSED_1 | WO_MODE_UNUSED_2 | WO_MODE_UNUSED_3 | WO_MODE_UNUSED_4 | | world->flag &= ~(WO_MODE_UNUSED_1 | WO_MODE_UNUSED_2 | WO_MODE_UNUSED_3 | WO_MODE_UNUSED_4 | | ||||
| WO_MODE_UNUSED_5 | WO_MODE_UNUSED_7); | WO_MODE_UNUSED_5 | WO_MODE_UNUSED_7); | ||||
| } | } | ||||
| for (Image *image = bmain->images.first; image; image = image->id.next) { | for (Image *image = bmain->images.first; image; image = image->id.next) { | ||||
| image->flag &= ~(IMA_FLAG_UNUSED_0 | IMA_FLAG_UNUSED_1 | IMA_FLAG_UNUSED_4 | | image->flag &= ~(IMA_HIGH_BITDEPTH | IMA_FLAG_UNUSED_1 | IMA_FLAG_UNUSED_4 | | ||||
| IMA_FLAG_UNUSED_6 | IMA_FLAG_UNUSED_8 | IMA_FLAG_UNUSED_15 | | IMA_FLAG_UNUSED_6 | IMA_FLAG_UNUSED_8 | IMA_FLAG_UNUSED_15 | | ||||
| IMA_FLAG_UNUSED_16); | IMA_FLAG_UNUSED_16); | ||||
| } | } | ||||
| for (Object *ob = bmain->objects.first; ob; ob = ob->id.next) { | for (Object *ob = bmain->objects.first; ob; ob = ob->id.next) { | ||||
| ob->flag &= ~(OB_FLAG_UNUSED_11 | OB_FLAG_UNUSED_12); | ob->flag &= ~(OB_FLAG_UNUSED_11 | OB_FLAG_UNUSED_12); | ||||
| ob->transflag &= ~(OB_TRANSFLAG_UNUSED_0 | OB_TRANSFLAG_UNUSED_1); | ob->transflag &= ~(OB_TRANSFLAG_UNUSED_0 | OB_TRANSFLAG_UNUSED_1); | ||||
| ob->shapeflag &= ~OB_SHAPE_FLAG_UNUSED_1; | ob->shapeflag &= ~OB_SHAPE_FLAG_UNUSED_1; | ||||
| ▲ Show 20 Lines • Show All 1,127 Lines • Show Last 20 Lines | |||||