Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/modifier.cc
| Show First 20 Lines • Show All 1,011 Lines • ▼ Show 20 Lines | void BKE_modifier_deform_verts(ModifierData *md, | ||||
| float (*vertexCos)[3], | float (*vertexCos)[3], | ||||
| int numVerts) | int numVerts) | ||||
| { | { | ||||
| const ModifierTypeInfo *mti = BKE_modifier_get_info(ModifierType(md->type)); | const ModifierTypeInfo *mti = BKE_modifier_get_info(ModifierType(md->type)); | ||||
| if (me && mti->dependsOnNormals && mti->dependsOnNormals(md)) { | if (me && mti->dependsOnNormals && mti->dependsOnNormals(md)) { | ||||
| modwrap_dependsOnNormals(me); | modwrap_dependsOnNormals(me); | ||||
| } | } | ||||
| mti->deformVerts(md, ctx, me, vertexCos, numVerts); | mti->deformVerts(md, ctx, me, vertexCos, numVerts); | ||||
| if (me) { | |||||
| BKE_mesh_tag_coords_changed(me); | |||||
| } | |||||
| } | } | ||||
| void BKE_modifier_deform_vertsEM(ModifierData *md, | void BKE_modifier_deform_vertsEM(ModifierData *md, | ||||
| const ModifierEvalContext *ctx, | const ModifierEvalContext *ctx, | ||||
| struct BMEditMesh *em, | struct BMEditMesh *em, | ||||
| Mesh *me, | Mesh *me, | ||||
| float (*vertexCos)[3], | float (*vertexCos)[3], | ||||
| int numVerts) | int numVerts) | ||||
| ▲ Show 20 Lines • Show All 515 Lines • Show Last 20 Lines | |||||