Mercurial > dive4elements > river
changeset 7668:e0219f4079a8
issue1688: In flow velocity, discharges are now initially inactive.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Fri, 06 Dec 2013 15:36:47 +0100 |
parents | a6363e080e2c |
children | f1abd257f933 |
files | artifacts/src/main/java/org/dive4elements/river/artifacts/states/FlowVelocityState.java |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/states/FlowVelocityState.java Fri Dec 06 14:51:48 2013 +0100 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/states/FlowVelocityState.java Fri Dec 06 15:36:47 2013 +0100 @@ -286,13 +286,14 @@ String name = facet.getName(); if (name.equals(FLOW_VELOCITY_MAINCHANNEL_FILTERED) || name.equals(FLOW_VELOCITY_TAU_FILTERED) || - name.equals(FLOW_VELOCITY_DISCHARGE) || name.equals(FLOW_VELOCITY_TOTALCHANNEL_FILTERED)) { return Boolean.TRUE; } else if (name.equals(FLOW_VELOCITY_MAINCHANNEL) || name.equals(FLOW_VELOCITY_TAU) || - name.equals(FLOW_VELOCITY_TOTALCHANNEL)) { + name.equals(FLOW_VELOCITY_TOTALCHANNEL) || + name.equals(FLOW_VELOCITY_DISCHARGE) + ) { return Boolean.FALSE; } else {