[PATCH 1 of 3] Fixed: pattern got wrong colors

Wald Commits scm-commit at wald.intevation.org
Tue Jun 26 20:19:37 CEST 2018


# HG changeset patch
# User gernotbelger
# Date 1530037098 -7200
# Node ID 5dacb6ea75a1efddcab52b03aae6be7e3ad0d6dc
# Parent  9ef1262487e7d04b3ae637b84cebc0a4d3807fc5
Fixed: pattern got wrong colors

diff -r 9ef1262487e7 -r 5dacb6ea75a1 artifacts/src/main/java/org/dive4elements/river/jfree/ColorMapper.java
--- a/artifacts/src/main/java/org/dive4elements/river/jfree/ColorMapper.java	Tue Jun 26 20:16:02 2018 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/jfree/ColorMapper.java	Tue Jun 26 20:18:18 2018 +0200
@@ -33,7 +33,7 @@
             out[0] = this.to[0];
             out[1] = this.to[1];
             out[2] = this.to[2];
-            out[2] = src[3];
+            out[3] = src[3];
         } else {
             System.arraycopy(src, 0, out, 0, src.length);
         }


More information about the Dive4Elements-commits mailing list