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>2013-01-12 14:39:09 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-01-12 14:39:09 +0400
commit45c453c9b11520cb8aad2b220c8d1592af9df94d (patch)
tree1b956bcfa2224fbca25609e4bdc48e622b6a4e0c /source/blender/editors/mesh
parent03df7e9a564d1ba6366b5d6b587b9319158ca198 (diff)
replace inline with BLI_INLINE define.
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r--source/blender/editors/mesh/editmesh_knife.c2
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);
}