diff flys-artifacts/src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java @ 1684:bdb05dc9b763

Bugfix: #353 Enabled chart's to be drawn with proper axes set even if no data is contained. flys-artifacts/trunk@2902 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 07 Oct 2011 10:51:09 +0000
parents 6566c7868456
children f643ea084213
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java	Fri Oct 07 09:40:15 2011 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java	Fri Oct 07 10:51:09 2011 +0000
@@ -280,10 +280,6 @@
                     generator.setMasterArtifact(artifact);
                 }
 
-                if (theme.getActive() == 0) {
-                    continue;
-                }
-
                 generator.doOut(
                     artifact,
                     theme,
@@ -292,7 +288,8 @@
                         outName,
                         facetName,
                         theme.getIndex(),
-                        context));
+                        context),
+                    theme.getActive() == 1);
             }
         }
         catch (ArtifactDatabaseException ade) {

http://dive4elements.wald.intevation.org