replace BMESH_ERROR with BMESH_ASSERT, most areas it was used are better suited to...
authorCampbell Barton <ideasman42@gmail.com>
Sun, 26 Feb 2012 16:39:21 +0000 (16:39 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 26 Feb 2012 16:39:21 +0000 (16:39 +0000)
commit03f5758b48457b5d76239d78f3f374195d1104ab
treee245eb650e3794bf08e55dac38a3fb14a1ef8d51
parent5970adaccfe4bd1faf24dd88fdba3e0801af792a
replace BMESH_ERROR with BMESH_ASSERT, most areas it was used are better suited to an assert anyway.

also tag all error cases as UNLIKELY() for better branch prediction.
source/blender/bmesh/bmesh.h
source/blender/bmesh/bmesh_error.h
source/blender/bmesh/intern/bmesh_mesh.c
source/blender/bmesh/intern/bmesh_mods.c
source/blender/bmesh/intern/bmesh_newcore.c
source/blender/bmesh/intern/bmesh_structure.c
source/blender/bmesh/intern/bmesh_walkers.c
source/blender/bmesh/operators/bmo_subdivide.c