fix leak in BM_face_split() with multires if the split failed.
authorCampbell Barton <ideasman42@gmail.com>
Fri, 23 Aug 2013 13:00:43 +0000 (13:00 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 23 Aug 2013 13:00:43 +0000 (13:00 +0000)
commitd6b9fb36d85eac730ce9a3deb6211fb0c3c0a5ec
tree3b3af5257b60bb3e984f4ccc8898dc6f82f67b2a
parentf560d25666b6aa7b1451a5626525505183f8fffa
fix leak in BM_face_split() with multires if the split failed.
also remove redundant normal copy.

only triangulate the mesh if its needed when enabling dyntopo.
source/blender/bmesh/intern/bmesh_construct.c
source/blender/bmesh/intern/bmesh_mods.c
source/blender/editors/sculpt_paint/sculpt.c