Changeset View
Changeset View
Standalone View
Standalone View
source/blender/modifiers/intern/MOD_softbody.c
| Show First 20 Lines • Show All 72 Lines • ▼ Show 20 Lines | static void updateDepsgraph(ModifierData *UNUSED(md), const ModifierUpdateDepsgraphContext *ctx) | ||||
| DEG_add_modifier_to_transform_relation(ctx->node, "SoftBody Modifier"); | DEG_add_modifier_to_transform_relation(ctx->node, "SoftBody Modifier"); | ||||
| } | } | ||||
| ModifierTypeInfo modifierType_Softbody = { | ModifierTypeInfo modifierType_Softbody = { | ||||
| /* name */ "Softbody", | /* name */ "Softbody", | ||||
| /* structName */ "SoftbodyModifierData", | /* structName */ "SoftbodyModifierData", | ||||
| /* structSize */ sizeof(SoftbodyModifierData), | /* structSize */ sizeof(SoftbodyModifierData), | ||||
| /* type */ eModifierTypeType_OnlyDeform, | /* type */ eModifierTypeType_OnlyDeform, | ||||
| /* flags */ eModifierTypeFlag_AcceptsCVs | eModifierTypeFlag_AcceptsLattice | | /* flags */ eModifierTypeFlag_AcceptsCVs | eModifierTypeFlag_AcceptsVertexCosOnly | | ||||
| eModifierTypeFlag_RequiresOriginalData | eModifierTypeFlag_Single | | eModifierTypeFlag_RequiresOriginalData | eModifierTypeFlag_Single | | ||||
| eModifierTypeFlag_UsesPointCache, | eModifierTypeFlag_UsesPointCache, | ||||
| /* copyData */ NULL, | /* copyData */ NULL, | ||||
| /* deformVerts */ deformVerts, | /* deformVerts */ deformVerts, | ||||
| /* deformMatrices */ NULL, | /* deformMatrices */ NULL, | ||||
| /* deformVertsEM */ NULL, | /* deformVertsEM */ NULL, | ||||
| /* deformMatricesEM */ NULL, | /* deformMatricesEM */ NULL, | ||||
| /* applyModifier */ NULL, | /* modifyMesh */ NULL, | ||||
| /* modifyHair */ NULL, | |||||
| /* modifyPointCloud */ NULL, | |||||
| /* modifyVolume */ NULL, | |||||
| /* initData */ NULL, | /* initData */ NULL, | ||||
| /* requiredDataMask */ NULL, | /* requiredDataMask */ NULL, | ||||
| /* freeData */ NULL, | /* freeData */ NULL, | ||||
| /* isDisabled */ NULL, | /* isDisabled */ NULL, | ||||
| /* updateDepsgraph */ updateDepsgraph, | /* updateDepsgraph */ updateDepsgraph, | ||||
| /* dependsOnTime */ dependsOnTime, | /* dependsOnTime */ dependsOnTime, | ||||
| /* dependsOnNormals */ NULL, | /* dependsOnNormals */ NULL, | ||||
| /* foreachObjectLink */ NULL, | /* foreachObjectLink */ NULL, | ||||
| /* foreachIDLink */ NULL, | /* foreachIDLink */ NULL, | ||||
| /* foreachTexLink */ NULL, | /* foreachTexLink */ NULL, | ||||
| /* freeRuntimeData */ NULL, | /* freeRuntimeData */ NULL, | ||||
| }; | }; | ||||