Revision: 57708
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=57708
Author: campbellbarton
Date: 2013-06-24 18:22:59 +0000 (Mon, 24 Jun 2013)
Log Message:
-----------
remove own optimization in scanfill, in rare cases it caused problems, reported
as [#35861]
Modified Paths:
--------------
trunk/blender/source/blender/blenlib/intern/scanfill.c
Modified: trunk/blender/source/blender/blenlib/intern/scanfill.c
===================================================================
--- trunk/blender/source/blender/blenlib/intern/scanfill.c 2013-06-24
18:13:33 UTC (rev 57707)
+++ trunk/blender/source/blender/blenlib/intern/scanfill.c 2013-06-24
18:22:59 UTC (rev 57708)
@@ -721,11 +721,8 @@
/* we
continue searching and pick the one with sharpest corner */
if
(best_sc == NULL) {
+
/* even without holes we need to keep checking [#35861] */
best_sc = sc1;
-
/* only need to continue checking with holes */
-
if ((flag & BLI_SCANFILL_CALC_HOLES) == 0) {
-
break;
-
}
}
else {
float angle;
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs