[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [25703] trunk/blender/source/blender/ editors/mesh/meshtools.c: use a smaller threshold for mesh mirror, workaround for sintels face.

Campbell Barton ideasman42 at gmail.com
Mon Jan 4 15:59:53 CET 2010


Revision: 25703
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=25703
Author:   campbellbarton
Date:     2010-01-04 15:59:53 +0100 (Mon, 04 Jan 2010)

Log Message:
-----------
use a smaller threshold for mesh mirror, workaround for sintels face.
Better solutions could be...
- use a tool to set mirror locations (did a script for this in 2.4x), then run this if locations get messed up..
- find the closest mirror vertex, would be slower
- have a configurable threshold.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/mesh/meshtools.c

Modified: trunk/blender/source/blender/editors/mesh/meshtools.c
===================================================================
--- trunk/blender/source/blender/editors/mesh/meshtools.c	2010-01-04 14:22:22 UTC (rev 25702)
+++ trunk/blender/source/blender/editors/mesh/meshtools.c	2010-01-04 14:59:53 UTC (rev 25703)
@@ -760,7 +760,7 @@
 
 #define MOC_RES			8
 #define MOC_NODE_RES	8
-#define MOC_THRESH		0.0002f
+#define MOC_THRESH		0.00002f
 
 typedef struct MocNode {
 	struct MocNode *next;





More information about the Bf-blender-cvs mailing list