Changeset View
Changeset View
Standalone View
Standalone View
source/blender/modifiers/intern/MOD_weightvgedit.c
| Show First 20 Lines • Show All 391 Lines • ▼ Show 20 Lines | static void blendRead(BlendDataReader *reader, ModifierData *md) | ||||
| BLO_read_data_address(reader, &wmd->cmap_curve); | BLO_read_data_address(reader, &wmd->cmap_curve); | ||||
| if (wmd->cmap_curve) { | if (wmd->cmap_curve) { | ||||
| BKE_curvemapping_blend_read(reader, wmd->cmap_curve); | BKE_curvemapping_blend_read(reader, wmd->cmap_curve); | ||||
| } | } | ||||
| } | } | ||||
| ModifierTypeInfo modifierType_WeightVGEdit = { | ModifierTypeInfo modifierType_WeightVGEdit = { | ||||
| /* name */ "VertexWeightEdit", | /* name */ N_("VertexWeightEdit"), | ||||
| /* structName */ "WeightVGEditModifierData", | /* structName */ "WeightVGEditModifierData", | ||||
| /* structSize */ sizeof(WeightVGEditModifierData), | /* structSize */ sizeof(WeightVGEditModifierData), | ||||
| /* srna */ &RNA_VertexWeightEditModifier, | /* srna */ &RNA_VertexWeightEditModifier, | ||||
| /* type */ eModifierTypeType_NonGeometrical, | /* type */ eModifierTypeType_NonGeometrical, | ||||
| /* flags */ eModifierTypeFlag_AcceptsMesh | eModifierTypeFlag_SupportsMapping | | /* flags */ eModifierTypeFlag_AcceptsMesh | eModifierTypeFlag_SupportsMapping | | ||||
| eModifierTypeFlag_SupportsEditmode | eModifierTypeFlag_UsesPreview, | eModifierTypeFlag_SupportsEditmode | eModifierTypeFlag_UsesPreview, | ||||
| /* icon */ ICON_MOD_VERTEX_WEIGHT, | /* icon */ ICON_MOD_VERTEX_WEIGHT, | ||||
| Show All 23 Lines | |||||