Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/versioning_280.c
| Show First 20 Lines • Show All 3,529 Lines • ▼ Show 20 Lines | if (!MAIN_VERSION_ATLEAST(bmain, 280, 75)) { | ||||
| LISTBASE_FOREACH (bArmature *, arm, &bmain->armatures) { | LISTBASE_FOREACH (bArmature *, arm, &bmain->armatures) { | ||||
| arm->flag &= ~(ARM_FLAG_UNUSED_6); | arm->flag &= ~(ARM_FLAG_UNUSED_6); | ||||
| } | } | ||||
| } | } | ||||
| { | { | ||||
| /* Versioning code until next subversion bump goes here. */ | /* Versioning code until next subversion bump goes here. */ | ||||
| for (Mesh *mesh = bmain->meshes.first; mesh; mesh = mesh->id.next) { | |||||
| mesh->voxel_size = 0.1f; | |||||
brecht: You can do this so the value does not get overwritten until the subversion bump:
```
if (mesh… | |||||
| } | |||||
| } | } | ||||
| } | } | ||||
You can do this so the value does not get overwritten until the subversion bump:
if (mesh->voxel_size == 0.0f) { mesh->voxel_size = 0.1f; }