Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/writefile.c
| Show First 20 Lines • Show All 1,455 Lines • ▼ Show 20 Lines | else if (md->type == eModifierType_DynamicPaint) { | ||||
| } | } | ||||
| if (pmd->brush) { | if (pmd->brush) { | ||||
| BLO_write_struct(writer, DynamicPaintBrushSettings, pmd->brush); | BLO_write_struct(writer, DynamicPaintBrushSettings, pmd->brush); | ||||
| BLO_write_struct(writer, ColorBand, pmd->brush->paint_ramp); | BLO_write_struct(writer, ColorBand, pmd->brush->paint_ramp); | ||||
| BLO_write_struct(writer, ColorBand, pmd->brush->vel_ramp); | BLO_write_struct(writer, ColorBand, pmd->brush->vel_ramp); | ||||
| } | } | ||||
| } | } | ||||
| else if (md->type == eModifierType_Collision) { | else if (md->type == eModifierType_Collision) { | ||||
| #if 0 | #if 0 | ||||
| CollisionModifierData *collmd = (CollisionModifierData *)md; | CollisionModifierData *collmd = (CollisionModifierData *)md; | ||||
| // TODO: CollisionModifier should use pointcache | // TODO: CollisionModifier should use pointcache | ||||
| // + have proper reset events before enabling this | // + have proper reset events before enabling this | ||||
| writestruct(wd, DATA, MVert, collmd->numverts, collmd->x); | writestruct(wd, DATA, MVert, collmd->numverts, collmd->x); | ||||
| writestruct(wd, DATA, MVert, collmd->numverts, collmd->xnew); | writestruct(wd, DATA, MVert, collmd->numverts, collmd->xnew); | ||||
| writestruct(wd, DATA, MFace, collmd->numfaces, collmd->mfaces); | writestruct(wd, DATA, MFace, collmd->numfaces, collmd->mfaces); | ||||
| #endif | #endif | ||||
| ▲ Show 20 Lines • Show All 2,659 Lines • Show Last 20 Lines | |||||