dissable double re-tesselation when entering editmode.

This commit is contained in:
Campbell Barton
2012-01-22 22:20:20 +00:00
parent 6d50149e7c
commit d9958e4f7b

View File

@@ -310,7 +310,14 @@ void EDBM_MakeEditBMesh(ToolSettings *ts, Scene *UNUSED(scene), Object *ob)
MEM_freeN(me->edit_btmesh);
}
/* currently executing operators re-tesselates, so we can avoid doing here
* but at some point it may need to be added back. */
#if 0
me->edit_btmesh = BMEdit_Create(bm, TRUE);
#else
me->edit_btmesh = BMEdit_Create(bm, FALSE);
#endif
me->edit_btmesh->selectmode= me->edit_btmesh->bm->selectmode= ts->selectmode;
me->edit_btmesh->me = me;
me->edit_btmesh->ob = ob;