Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/versioning_280.c
| Context not available. | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| /* Solidify modifier merge tolerance*/ | |||||
| if (!DNA_struct_elem_find(fd->filesdna, "SolidifyModifierData", "float", "tolerance")) { | |||||
| for (Object *ob = bmain->objects.first; ob; ob = ob->id.next) { | |||||
| for (ModifierData *md = ob->modifiers.first; md; md = md->next) { | |||||
| if (md->type == eModifierType_Solidify) { | |||||
| SolidifyModifierData *smd = (SolidifyModifierData *)md; | |||||
| /* set to 0.003 since that is what was used before, default now is 0.0001 */ | |||||
| smd->tolerance = 0.003f; | |||||
| } | |||||
| } | |||||
| } | |||||
| } | |||||
| } | } | ||||
| /** | /** | ||||
| Context not available. | |||||