Ignore:
Timestamp:
2009-07-21T20:17:36+02:00 (17 years ago)
Author:
jttt
Message:

Make it work without Main.ds

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/DownloadSVGTask.java

    r16581 r16619  
    123123        // simplify the way
    124124        double threshold = Double.parseDouble(Main.pref.get("cadastrewms.simplify-way-boundary", "1.0"));
    125         new SimplifyWay().simplifyWay(wayToAdd, Main.ds, threshold);
     125        new SimplifyWay().simplifyWay(wayToAdd, Main.main.getCurrentDataSet(), threshold);
    126126
    127127        cmds.add(new AddCommand(wayToAdd));
Note: See TracChangeset for help on using the changeset viewer.