]> gerrit.simantics Code Review - simantics/district.git/commitdiff
Fix dynamic visualisations UI color bars disappearing 81/3381/1
authorjsimomaa <jani.simomaa@gmail.com>
Mon, 21 Oct 2019 10:02:44 +0000 (13:02 +0300)
committerjsimomaa <jani.simomaa@gmail.com>
Mon, 21 Oct 2019 10:02:44 +0000 (13:02 +0300)
gitlab #59
APROS-15720

Change-Id: Iacc499bbfe56136372a2554a59cde00b11cdb8c8

org.simantics.district.network.ui/src/org/simantics/district/network/ui/nodes/DynamicVisualisationContributionsNode.java

index d8d2e1d194a97d9f45c9bdeb8a2e85394392cf2b..a5337cabee5c815889ec9e1fbef084eff655e153 100644 (file)
@@ -92,7 +92,7 @@ public class DynamicVisualisationContributionsNode extends G2DNode {
                 DynamicColorContribution cc = object.getValue();
                 
                 if (!cc.isUsed())
-                    break;
+                    continue;
                 
                 double min = cc.getDefaultMin();
                 double max = cc.getDefaultMax();