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 4,898 Lines • ▼ Show 20 Lines | else if (md->type == eModifierType_LaplacianDeform) { | ||||
| LaplacianDeformModifierData *lmd = (LaplacianDeformModifierData *)md; | LaplacianDeformModifierData *lmd = (LaplacianDeformModifierData *)md; | ||||
| lmd->vertexco = newdataadr(fd, lmd->vertexco); | lmd->vertexco = newdataadr(fd, lmd->vertexco); | ||||
| if (fd->flags & FD_FLAGS_SWITCH_ENDIAN) { | if (fd->flags & FD_FLAGS_SWITCH_ENDIAN) { | ||||
| BLI_endian_switch_float_array(lmd->vertexco, lmd->total_verts * 3); | BLI_endian_switch_float_array(lmd->vertexco, lmd->total_verts * 3); | ||||
| } | } | ||||
| lmd->cache_system = NULL; | lmd->cache_system = NULL; | ||||
| } | } | ||||
| else if (md->type == eModifierType_ParticleMesher) { | |||||
| ParticleMesherModifierData *pmmd = (ParticleMesherModifierData *)md; | |||||
| pmmd->psys = newdataadr(fd, pmmd->psys); | |||||
| link_list(fd, &pmmd->filters); | |||||
| } | |||||
| } | } | ||||
| } | } | ||||
| static void direct_link_object(FileData *fd, Object *ob) | static void direct_link_object(FileData *fd, Object *ob) | ||||
| { | { | ||||
| PartEff *paf; | PartEff *paf; | ||||
| bProperty *prop; | bProperty *prop; | ||||
| bSensor *sens; | bSensor *sens; | ||||
| ▲ Show 20 Lines • Show All 4,665 Lines • Show Last 20 Lines | |||||