Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/readfile.c
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
| Show First 20 Lines • Show All 5,657 Lines • ▼ Show 20 Lines | else if (md->type == eModifierType_Hook) { | ||||
| hmd->curfalloff = newdataadr(fd, hmd->curfalloff); | hmd->curfalloff = newdataadr(fd, hmd->curfalloff); | ||||
| if (hmd->curfalloff) { | if (hmd->curfalloff) { | ||||
| direct_link_curvemapping(fd, hmd->curfalloff); | direct_link_curvemapping(fd, hmd->curfalloff); | ||||
| } | } | ||||
| } | } | ||||
| else if (md->type == eModifierType_ParticleSystem) { | else if (md->type == eModifierType_ParticleSystem) { | ||||
| ParticleSystemModifierData *psmd = (ParticleSystemModifierData *)md; | ParticleSystemModifierData *psmd = (ParticleSystemModifierData *)md; | ||||
| psmd->mesh_final = NULL; | |||||
| psmd->mesh_original = NULL; | |||||
| psmd->psys = newdataadr(fd, psmd->psys); | psmd->psys = newdataadr(fd, psmd->psys); | ||||
| psmd->flag &= ~eParticleSystemFlag_psys_updated; | psmd->flag &= ~eParticleSystemFlag_psys_updated; | ||||
| psmd->flag |= eParticleSystemFlag_file_loaded; | psmd->flag |= eParticleSystemFlag_file_loaded; | ||||
| } | } | ||||
| else if (md->type == eModifierType_Explode) { | else if (md->type == eModifierType_Explode) { | ||||
| ExplodeModifierData *psmd = (ExplodeModifierData *)md; | ExplodeModifierData *psmd = (ExplodeModifierData *)md; | ||||
| psmd->facepa = NULL; | psmd->facepa = NULL; | ||||
| ▲ Show 20 Lines • Show All 6,186 Lines • Show Last 20 Lines | |||||