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:
authorAntony Riakiotakis <kalast@gmail.com>2013-10-23 03:32:41 +0400
committerAntony Riakiotakis <kalast@gmail.com>2013-10-23 03:32:41 +0400
commit8748840564150e62c537c14172528b2d12e43e9c (patch)
treed787c35dbbf2c697f9a3ab54e9fb8f7e4511e8af
parent8bb39a536b741e1ccf55fb4cef6b5f580393c2b9 (diff)
Fix part 1 of #37177 spikes in sculpting.
Was a typo from refactor to calculate sculpt plane from forward facing vertices only. The branch of the code that did the calculation would end up with a nice division by a wrong number.
-rw-r--r--source/blender/editors/sculpt_paint/sculpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index b41a2d0f4c9..a7a7b6ab84a 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -2488,7 +2488,7 @@ static void calc_area_normal_and_flatten_center(Sculpt *sd, Object *ob,
/* for flatten center */
add_v3_v3(fc, private_fc);
- add_v3_v3(fc_flip, private_fc);
+ add_v3_v3(fc_flip, private_fc_flip);
count += private_count;
count_flipped += private_count_flip;
}