Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/versioning_280.c
| Show First 20 Lines • Show All 3,687 Lines • ▼ Show 20 Lines | if (!MAIN_VERSION_ATLEAST(bmain, 281, 3)) { | ||||
| } | } | ||||
| for (Mesh *mesh = bmain->meshes.first; mesh; mesh = mesh->id.next) { | 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; | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| if (!MAIN_VERSION_ATLEAST(bmain, 281, 4)) { | |||||
| ID *id; | |||||
| FOREACH_MAIN_ID_BEGIN (bmain, id) { | |||||
| bNodeTree *ntree = ntreeFromID(id); | |||||
| if (ntree) { | |||||
| ntree->id.flag |= LIB_PRIVATE_DATA; | |||||
| } | |||||
| } | |||||
| FOREACH_MAIN_ID_END; | |||||
| } | |||||
| { | { | ||||
| /* Versioning code until next subversion bump goes here. */ | /* Versioning code until next subversion bump goes here. */ | ||||
| } | } | ||||
| } | } | ||||