diff options
author | Sergey Sharybin <sergey@blender.org> | 2022-05-03 18:19:53 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2022-05-04 11:56:33 +0300 |
commit | aa1fb4204dc484067edec672c97c4c7b281996b8 (patch) | |
tree | be1f770578b1af17884ada0121dcb4116e5c252a /source/blender/makesdna/DNA_modifier_types.h | |
parent | 2d80f814cc249d26b01fe1a306d4f7d1c2ffed90 (diff) |
Cleanup: More clear name in surface deform modifier
Make it explicit that counter is about target mesh.
Use DNA rename for it so that the files stay compatible.
Also renamed some purely runtime fields to replace `t`
prefix with `target` as the short `t` is super easy
to miss.
Differential Revision: https://developer.blender.org/D14835
Diffstat (limited to 'source/blender/makesdna/DNA_modifier_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_modifier_types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h index 73c4eeaaab3..92e7d6fc8c1 100644 --- a/source/blender/makesdna/DNA_modifier_types.h +++ b/source/blender/makesdna/DNA_modifier_types.h @@ -2223,7 +2223,8 @@ typedef struct SurfaceDeformModifierData { /** Vertex bind data. */ SDefVert *verts; float falloff; - unsigned int mesh_verts_num, bind_verts_num, polys_num; + unsigned int mesh_verts_num, bind_verts_num; + unsigned int target_polys_num; int flags; float mat[4][4]; float strength; |