From 5829a04a17affb031dc61047f6219ba2b5f93c8f Mon Sep 17 00:00:00 2001 From: JIANG Kairong Date: Sun, 26 Jun 2016 20:16:18 +0800 Subject: fix a minor bug when compiling --- source/blender/editors/sculpt_paint/sculpt.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index 7d1b76e5f98..d7df51deb14 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -3392,14 +3392,8 @@ static void sculpt_topology_update(Sculpt *sd, Object *ob, Brush *brush, Unified /* calc the foot of the perpendicular of a point to a line * should move this to the math_ .c */ -static inline void calc_foot_perp_v3_v3v3v3(float* foot, const float* a, const float* l_dir, const float* p) +static void calc_foot_perp_v3_v3v3v3(float* foot, const float* a, const float* l_dir, const float* p) { - float tf[3], ta[3], td[3], tp[3]; - copy_v3_v3(tf, foot); - copy_v3_v3(ta, a); - copy_v3_v3(td, l_dir); - copy_v3_v3(tp, p); - float v1[3]; sub_v3_v3v3(v1, a, p); -- cgit v1.2.3