diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2017-08-11 17:18:01 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2017-08-11 18:08:41 +0300 |
commit | c034193821ec7e67a0ae1050c8ccef7b5cd5473b (patch) | |
tree | 156f5d5a3f24f6502bdae0052bd82e73fdee61fb /source/blender/modifiers/intern/MOD_collision.c | |
parent | e324172d9ca6690e8bd2c0a53f0f7ad529d8e241 (diff) |
Cleanup: remove useless `DM_ensure_looptri()`.
That one was doing exactly same thing as `dm->getLoopTriArray()`, no
point in having twice the same code here...
Diffstat (limited to 'source/blender/modifiers/intern/MOD_collision.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_collision.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_collision.c b/source/blender/modifiers/intern/MOD_collision.c index 33e834f3023..74e49dda074 100644 --- a/source/blender/modifiers/intern/MOD_collision.c +++ b/source/blender/modifiers/intern/MOD_collision.c @@ -153,8 +153,6 @@ static void deformVerts(ModifierData *md, Object *ob, collmd->current_v = MEM_dupallocN(collmd->x); // inter-frame collmd->mvert_num = mvert_num; - - DM_ensure_looptri(dm); collmd->tri_num = dm->getNumLoopTri(dm); { |