diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-02-17 10:05:18 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-02-17 10:05:18 +0300 |
commit | e0e6229176573484431d2bbf3ba0c2f849522789 (patch) | |
tree | bdf220c75443dfa2e5f5a4f59c1a380044a443cf /source/blender/modifiers/intern | |
parent | 203b964ff4da6f4c6cd54937e0dd704ff1cfc7b0 (diff) |
Cleanup: rename Mesh.edit_btmesh -> edit_mesh
When bmesh was in a branch we had both edit_mesh and edit_btmesh,
now there is no reason to use this odd name.
Diffstat (limited to 'source/blender/modifiers/intern')
-rw-r--r-- | source/blender/modifiers/intern/MOD_particlesystem.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/modifiers/intern/MOD_particlesystem.c b/source/blender/modifiers/intern/MOD_particlesystem.c index 4f9b6280026..547e4dc060c 100644 --- a/source/blender/modifiers/intern/MOD_particlesystem.c +++ b/source/blender/modifiers/intern/MOD_particlesystem.c @@ -150,11 +150,11 @@ static void deformVerts( Mesh *mesh_original = NULL; if (ctx->object->type == OB_MESH) { - BMEditMesh *edit_btmesh = BKE_editmesh_from_object(ctx->object); + BMEditMesh *em = BKE_editmesh_from_object(ctx->object); - if (edit_btmesh) { + if (em) { /* In edit mode get directly from the edit mesh. */ - psmd->mesh_original = BKE_mesh_from_bmesh_for_eval_nomain(edit_btmesh->bm, 0); + psmd->mesh_original = BKE_mesh_from_bmesh_for_eval_nomain(em->bm, 0); } else { /* Otherwise get regular mesh. */ |