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:
authorJIANG Kairong <cecil.ini.jiang@gmail.com>2016-06-26 15:16:18 +0300
committerJIANG Kairong <cecil.ini.jiang@gmail.com>2016-06-26 15:16:18 +0300
commit5829a04a17affb031dc61047f6219ba2b5f93c8f (patch)
tree470023e38a8c739ccab7f399b62e35f8c6cdeb3b
parent54f537f5e022a2c75a61f85a5ae908e2ea584de9 (diff)
fix a minor bug when compilingsoc-2016-sculpt_tools
-rw-r--r--source/blender/editors/sculpt_paint/sculpt.c8
1 files changed, 1 insertions, 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);