Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-02-26 00:58:03 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-02-26 00:58:03 +0400
commit98aececc8e61e7d6d9225e59ab10d27da9498953 (patch)
treecee5dfeb04d4c0016dadaeabcfad5428ac7e692c /source/blender/bmesh/intern/bmesh_private.h
parent4f4bba39fb0da31bb4adad7e5110f98f85e59ebe (diff)
bmesh code cleanup
* change BMO_elem_flag_* defines to inline functions. * BMO_slot_map_insert() is too big for an inline function - un-inline it. * remove redundant casts.
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_private.h')
-rw-r--r--source/blender/bmesh/intern/bmesh_private.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/bmesh/intern/bmesh_private.h b/source/blender/bmesh/intern/bmesh_private.h
index 694d68549cd..c6237743541 100644
--- a/source/blender/bmesh/intern/bmesh_private.h
+++ b/source/blender/bmesh/intern/bmesh_private.h
@@ -43,15 +43,15 @@ struct BMLoop;
int bmesh_check_element(BMesh *bm, void *element, const char htype);
#define BM_CHECK_ELEMENT(bm, el) \
- if (bmesh_check_element(bm, el, ((BMHeader*)el)->htype)) { \
+ if (bmesh_check_element(bm, el, ((BMHeader *)el)->htype)) { \
printf("check_element failure, with code %i on line %i in file\n" \
" \"%s\"\n\n", \
- bmesh_check_element(bm, el, ((BMHeader*)el)->htype), \
+ bmesh_check_element(bm, el, ((BMHeader *)el)->htype), \
__LINE__, __FILE__); \
}
#define BM_EDGE_DISK_LINK_GET(e, v) ( \
- ((v) == ((BMEdge*)(e))->v1) ? \
+ ((v) == ((BMEdge *)(e))->v1) ? \
&((e)->v1_disk_link) : \
&((e)->v2_disk_link) \
)