[PATCH] Check for inverted setting later

Wald Commits scm-commit at wald.intevation.org
Fri Oct 4 18:39:30 CEST 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1380904505 -7200
# Node ID 7ea428c4aca035f71ea0a10227e34e38057b35a5
# Parent  965dbf2d4c44248220c968a01f21bf8b6e2bbf41
Check for inverted setting later.

    This enables calles to make sure that the master artifact is set.

diff -r 965dbf2d4c44 -r 7ea428c4aca0 artifacts/src/main/java/org/dive4elements/river/exports/DiagramGenerator.java
--- a/artifacts/src/main/java/org/dive4elements/river/exports/DiagramGenerator.java	Fri Oct 04 18:33:44 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/DiagramGenerator.java	Fri Oct 04 18:35:05 2013 +0200
@@ -135,8 +135,6 @@
         super.init(outName, request, out, context);
 
         RiverUtils.setKMFromRequestInContext(request, context);
-
-        setInvertedFromConfig();
     }
 
     private void setInvertedFromConfig() {
@@ -192,6 +190,9 @@
         //debugAxis(plot);
 
         localizeAxes(plot);
+
+        setInvertedFromConfig();
+
         adjustAxes(plot);
         if (!(axis instanceof LogarithmicAxis)) {
             // XXX:


More information about the Dive4elements-commits mailing list