diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-01-12 14:39:09 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-01-12 14:39:09 +0400 |
commit | 45c453c9b11520cb8aad2b220c8d1592af9df94d (patch) | |
tree | 1b956bcfa2224fbca25609e4bdc48e622b6a4e0c /source | |
parent | 03df7e9a564d1ba6366b5d6b587b9319158ca198 (diff) |
replace inline with BLI_INLINE define.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/mesh/editmesh_knife.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_knife.c b/source/blender/editors/mesh/editmesh_knife.c index 4b90c088214..b880980b246 100644 --- a/source/blender/editors/mesh/editmesh_knife.c +++ b/source/blender/editors/mesh/editmesh_knife.c @@ -225,7 +225,7 @@ static void knife_update_header(bContext *C, KnifeTool_OpData *kcd) ED_area_headerprint(CTX_wm_area(C), header); } -static inline int round_ftoi(float x) +BLI_INLINE int round_ftoi(float x) { return x > 0.0f ? (int)(x + 0.5f) : (int)(x - 0.5f); } |