[Polycasso-commit] SF.net SVN: polycasso:[74] trunk/polycasso/src/com/mebigfatguy/polycasso/ ImageG
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2009-11-27 20:59:51
|
Revision: 74
http://polycasso.svn.sourceforge.net/polycasso/?rev=74&view=rev
Author: dbrosius
Date: 2009-11-27 20:59:43 +0000 (Fri, 27 Nov 2009)
Log Message:
-----------
if the change is as good as the best (unlikely), do the change to shake it up
Modified Paths:
--------------
trunk/polycasso/src/com/mebigfatguy/polycasso/ImageGenerator.java
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/ImageGenerator.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/ImageGenerator.java 2009-11-27 20:43:59 UTC (rev 73)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/ImageGenerator.java 2009-11-27 20:59:43 UTC (rev 74)
@@ -164,7 +164,7 @@
boolean newBest = false;
synchronized(lock) {
attempt++;
- if (delta < bestScore) {
+ if (delta <= bestScore) {
bestData = data.toArray(new PolygonData[data.size()]);
bestScore = delta;
if (Polycasso.DEBUG)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|