# HG changeset patch # User Felix Wolfsteller # Date 1386340607 -3600 # Node ID e0219f4079a810945a8e8aa0f6a0e101dec71099 # Parent a6363e080e2c43bf34aa068ec68c4a5171cb3e13 issue1688: In flow velocity, discharges are now initially inactive. diff -r a6363e080e2c -r e0219f4079a8 artifacts/src/main/java/org/dive4elements/river/artifacts/states/FlowVelocityState.java --- 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 {