diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-01-23 01:12:18 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-01-23 01:12:18 +0400 |
commit | 61a5cc28bef0a7758aba179986cd8393a5425158 (patch) | |
tree | dd0bfc5694673b10c608414bfbc84be4ee5cfb83 /source/blender/editors/mesh/bmeshutils.c | |
parent | a63efc00cc5fca26510fdb435eb9d699dd293a6d (diff) |
disable re-tesselation for modifiers that use bmesh, array/bevel/edge split - were tesselating 2 times and didnt need to.
also comment array modifier from flushing selection flags.
Diffstat (limited to 'source/blender/editors/mesh/bmeshutils.c')
-rw-r--r-- | source/blender/editors/mesh/bmeshutils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/mesh/bmeshutils.c b/source/blender/editors/mesh/bmeshutils.c index 1d3851b2650..ba4cf08030e 100644 --- a/source/blender/editors/mesh/bmeshutils.c +++ b/source/blender/editors/mesh/bmeshutils.c @@ -310,7 +310,7 @@ void EDBM_MakeEditBMesh(ToolSettings *ts, Scene *UNUSED(scene), Object *ob) MEM_freeN(me->edit_btmesh); } - me->edit_btmesh = BMEdit_Create(bm); + me->edit_btmesh = BMEdit_Create(bm, TRUE); me->edit_btmesh->selectmode= me->edit_btmesh->bm->selectmode= ts->selectmode; me->edit_btmesh->me = me; me->edit_btmesh->ob = ob; @@ -589,7 +589,7 @@ static void undoMesh_to_editbtMesh(void *umv, void *emv, void *UNUSED(obdata)) bm = BM_Make_Mesh(ob, allocsize); BMO_CallOpf(bm, "mesh_to_bmesh mesh=%p object=%p set_shapekey=%i", me, ob, 0); - em2 = BMEdit_Create(bm); + em2 = BMEdit_Create(bm, TRUE); *em = *em2; em->selectmode = me->selectmode; |