[Bf-blender-cvs] [5829a04] soc-2016-sculpt_tools: fix a minor bug when compiling

JIANG Kairong noreply at git.blender.org
Sun Jun 26 14:16:28 CEST 2016


Commit: 5829a04a17affb031dc61047f6219ba2b5f93c8f
Author: JIANG Kairong
Date:   Sun Jun 26 20:16:18 2016 +0800
Branches: soc-2016-sculpt_tools
https://developer.blender.org/rB5829a04a17affb031dc61047f6219ba2b5f93c8f

fix a minor bug when compiling

===================================================================

M	source/blender/editors/sculpt_paint/sculpt.c

===================================================================

diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index 7d1b76e..d7df51d 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);




More information about the Bf-blender-cvs mailing list