[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [60900] trunk/blender/source/blender/ editors/sculpt_paint/sculpt.c: Fix part 1 of #37177 spikes in sculpting.

Antony Riakiotakis kalast at gmail.com
Wed Oct 23 01:32:41 CEST 2013


Revision: 60900
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60900
Author:   psy-fi
Date:     2013-10-22 23:32:41 +0000 (Tue, 22 Oct 2013)
Log Message:
-----------
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.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/sculpt_paint/sculpt.c

Modified: trunk/blender/source/blender/editors/sculpt_paint/sculpt.c
===================================================================
--- trunk/blender/source/blender/editors/sculpt_paint/sculpt.c	2013-10-22 19:52:01 UTC (rev 60899)
+++ trunk/blender/source/blender/editors/sculpt_paint/sculpt.c	2013-10-22 23:32:41 UTC (rev 60900)
@@ -2488,7 +2488,7 @@
 
 			/* 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;
 		}




More information about the Bf-blender-cvs mailing list