[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [58183] branches/soc-2013-paint/source/ blender/editors/sculpt_paint/paint_image_proj.c: Edge seam detection gives too many false positives.

Antony Riakiotakis kalast at gmail.com
Thu Jul 11 23:56:21 CEST 2013


Revision: 58183
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=58183
Author:   psy-fi
Date:     2013-07-11 21:56:20 +0000 (Thu, 11 Jul 2013)
Log Message:
-----------
Edge seam detection gives too many false positives. Lower the threshhold
as a temporary measure before a proper fix is written.

Modified Paths:
--------------
    branches/soc-2013-paint/source/blender/editors/sculpt_paint/paint_image_proj.c

Modified: branches/soc-2013-paint/source/blender/editors/sculpt_paint/paint_image_proj.c
===================================================================
--- branches/soc-2013-paint/source/blender/editors/sculpt_paint/paint_image_proj.c	2013-07-11 20:48:11 UTC (rev 58182)
+++ branches/soc-2013-paint/source/blender/editors/sculpt_paint/paint_image_proj.c	2013-07-11 21:56:20 UTC (rev 58183)
@@ -938,7 +938,7 @@
 					normalize_v2_v2(uv_normal, uv_edge);
 					SWAP(float, uv_normal[0], uv_normal[1]);
 					uv_normal[0] = -uv_normal[0];
-					mul_v2_fl(uv_normal, PROJ_GEOM_TOLERANCE * 1.5);
+					mul_v2_fl(uv_normal, FLT_EPSILON*5);
 
 					add_v2_v2v2(uv_point, tf->uv[i1_fidx], tf->uv[i2_fidx]);
 					mul_v2_fl(uv_point, 0.5);




More information about the Bf-blender-cvs mailing list