Changeset 27154 in osm for applications/editors


Ignore:
Timestamp:
2011-11-25T16:47:15+01:00 (13 years ago)
Author:
bastik
Message:

default values

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/layer/PicLayerAbstract.java

    r27147 r27154  
    407407            // initialize matrix
    408408            double[] matrix = new double[6];
    409             matrix[0] = Double.parseDouble(props.getProperty(MATRIXm00, "0"));
     409            matrix[0] = Double.parseDouble(props.getProperty(MATRIXm00, "1"));
    410410            matrix[1] = Double.parseDouble(props.getProperty(MATRIXm01, "0"));
    411411            matrix[2] = Double.parseDouble(props.getProperty(MATRIXm10, "0"));
    412             matrix[3] = Double.parseDouble(props.getProperty(MATRIXm11, "0"));
     412            matrix[3] = Double.parseDouble(props.getProperty(MATRIXm11, "1"));
    413413            matrix[4] = Double.parseDouble(props.getProperty(MATRIXm02, "0"));
    414414            matrix[5] = Double.parseDouble(props.getProperty(MATRIXm12, "0"));
Note: See TracChangeset for help on using the changeset viewer.