Changeset View
Changeset View
Standalone View
Standalone View
source/blender/modifiers/intern/MOD_warp.c
| Show First 20 Lines • Show All 504 Lines • ▼ Show 20 Lines | static void blendRead(BlendDataReader *reader, ModifierData *md) | ||||
| BLO_read_data_address(reader, &wmd->curfalloff); | BLO_read_data_address(reader, &wmd->curfalloff); | ||||
| if (wmd->curfalloff) { | if (wmd->curfalloff) { | ||||
| BKE_curvemapping_blend_read(reader, wmd->curfalloff); | BKE_curvemapping_blend_read(reader, wmd->curfalloff); | ||||
| } | } | ||||
| } | } | ||||
| ModifierTypeInfo modifierType_Warp = { | ModifierTypeInfo modifierType_Warp = { | ||||
| /* name */ "Warp", | /* name */ N_("Warp"), | ||||
| /* structName */ "WarpModifierData", | /* structName */ "WarpModifierData", | ||||
| /* structSize */ sizeof(WarpModifierData), | /* structSize */ sizeof(WarpModifierData), | ||||
| /* srna */ &RNA_WarpModifier, | /* srna */ &RNA_WarpModifier, | ||||
| /* type */ eModifierTypeType_OnlyDeform, | /* type */ eModifierTypeType_OnlyDeform, | ||||
| /* flags */ eModifierTypeFlag_AcceptsCVs | eModifierTypeFlag_AcceptsVertexCosOnly | | /* flags */ eModifierTypeFlag_AcceptsCVs | eModifierTypeFlag_AcceptsVertexCosOnly | | ||||
| eModifierTypeFlag_SupportsEditmode, | eModifierTypeFlag_SupportsEditmode, | ||||
| /* icon */ ICON_MOD_WARP, | /* icon */ ICON_MOD_WARP, | ||||
| /* copyData */ copyData, | /* copyData */ copyData, | ||||
| Show All 22 Lines | |||||