Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/versioning_280.c
| Show First 20 Lines • Show All 3,689 Lines • ▼ Show 20 Lines | for (Mesh *mesh = bmain->meshes.first; mesh; mesh = mesh->id.next) { | ||||
| if (mesh->remesh_voxel_size == 0.0f) { | if (mesh->remesh_voxel_size == 0.0f) { | ||||
| mesh->remesh_voxel_size = 0.1f; | mesh->remesh_voxel_size = 0.1f; | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| { | { | ||||
| /* Versioning code until next subversion bump goes here. */ | /* Versioning code until next subversion bump goes here. */ | ||||
| ListBase *lists[] = {&bmain->materials, | |||||
| &bmain->lights, | |||||
| &bmain->worlds, | |||||
| &bmain->textures, | |||||
| &bmain->scenes, | |||||
| &bmain->linestyles, | |||||
| NULL}; | |||||
| for (int i = 0; lists[i] != NULL; i++) { | |||||
| LISTBASE_FOREACH (ID *, id, lists[i]) { | |||||
| bNodeTree *ntree = ntreeFromID(id); | |||||
| if (ntree) { | |||||
| ntree->id.flag |= LIB_PRIVATE_DATA; | |||||
| } | |||||
| } | |||||
| } | |||||
| } | } | ||||
| } | } | ||||