Ignore:
Timestamp:
2017-12-18T21:59:09+01:00 (8 years ago)
Author:
malcolmh
Message:

illuminated beacons

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/seachart/src/render/Signals.java

    r33936 r33956  
    377377    @SuppressWarnings("unchecked")
    378378    public static void lights() {
     379      if ((hasAttribute(Obj.LIGHTS, Att.CATLIT) && (testAttribute(Obj.LIGHTS, Att.CATLIT, CatLIT.LIT_FLDL))))
     380        return;
    379381        Enum<ColCOL> col = null;
    380382        Enum<ColCOL> tcol = null;
     
    397399            }
    398400        }
    399         if (!(hasAttribute(Obj.LIGHTS, Att.CATLIT) && (testAttribute(Obj.LIGHTS, Att.CATLIT, CatLIT.LIT_FLDL)))) {
    400                 Renderer.symbol(Beacons.LightFlare, new Scheme(LightColours.get(col)),
    401                 new Delta(Handle.BC, AffineTransform.getRotateInstance(Math.toRadians(120))));
    402         }
     401        Renderer.symbol(Beacons.LightFlare, new Scheme(LightColours.get(col)),
     402                        new Delta(Handle.BC, AffineTransform.getRotateInstance(Math.toRadians(120))));
    403403        if (Renderer.zoom >= 12) {
    404404            String str = "";
     
    698698    }
    699699}
     700
Note: See TracChangeset for help on using the changeset viewer.