Changeset View
Changeset View
Standalone View
Standalone View
source/blender/modifiers/intern/MOD_hook.c
| Show First 20 Lines • Show All 539 Lines • ▼ Show 20 Lines | static void blendRead(BlendDataReader *reader, ModifierData *md) | ||||
| if (hmd->curfalloff) { | if (hmd->curfalloff) { | ||||
| BKE_curvemapping_blend_read(reader, hmd->curfalloff); | BKE_curvemapping_blend_read(reader, hmd->curfalloff); | ||||
| } | } | ||||
| BLO_read_int32_array(reader, hmd->indexar_num, &hmd->indexar); | BLO_read_int32_array(reader, hmd->indexar_num, &hmd->indexar); | ||||
| } | } | ||||
| ModifierTypeInfo modifierType_Hook = { | ModifierTypeInfo modifierType_Hook = { | ||||
| /* name */ "Hook", | /* name */ N_("Hook"), | ||||
| /* structName */ "HookModifierData", | /* structName */ "HookModifierData", | ||||
| /* structSize */ sizeof(HookModifierData), | /* structSize */ sizeof(HookModifierData), | ||||
| /* srna */ &RNA_HookModifier, | /* srna */ &RNA_HookModifier, | ||||
| /* type */ eModifierTypeType_OnlyDeform, | /* type */ eModifierTypeType_OnlyDeform, | ||||
| /* flags */ eModifierTypeFlag_AcceptsCVs | eModifierTypeFlag_AcceptsVertexCosOnly | | /* flags */ eModifierTypeFlag_AcceptsCVs | eModifierTypeFlag_AcceptsVertexCosOnly | | ||||
| eModifierTypeFlag_SupportsEditmode, | eModifierTypeFlag_SupportsEditmode, | ||||
| /* icon */ ICON_HOOK, | /* icon */ ICON_HOOK, | ||||
| /* copyData */ copyData, | /* copyData */ copyData, | ||||
| Show All 22 Lines | |||||