Changeset View
Changeset View
Standalone View
Standalone View
source/blender/modifiers/intern/MOD_weightvgproximity.c
| Show First 20 Lines • Show All 731 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_WeightVGProximity = { | ModifierTypeInfo modifierType_WeightVGProximity = { | ||||
| /* name */ "VertexWeightProximity", | /* name */ N_("VertexWeightProximity"), | ||||
| /* structName */ "WeightVGProximityModifierData", | /* structName */ "WeightVGProximityModifierData", | ||||
| /* structSize */ sizeof(WeightVGProximityModifierData), | /* structSize */ sizeof(WeightVGProximityModifierData), | ||||
| /* srna */ &RNA_VertexWeightProximityModifier, | /* srna */ &RNA_VertexWeightProximityModifier, | ||||
| /* 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 | |||||