Changeset 13022 in josm


Ignore:
Timestamp:
2017-10-18T17:31:38+02:00 (4 weeks ago)
Author:
bastiK
Message:

see #15451 - fix taginfo script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/TagInfoExtract.groovy

    r12855 r13022  
    2626import org.openstreetmap.josm.data.osm.visitor.paint.MapPaintSettings
    2727import org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer
     28import org.openstreetmap.josm.data.preferences.JosmBaseDirectories;
    2829import org.openstreetmap.josm.data.projection.Projections
    2930import org.openstreetmap.josm.gui.NavigatableComponent
     
    384385        Main.pref.enableSaveOnPut(false)
    385386        Config.setPreferencesInstance(Main.pref)
    386         Config.setBaseDirectoriesProvider(Main.pref);
     387        Config.setBaseDirectoriesProvider(JosmBaseDirectories.getInstance());
    387388        Main.setProjection(Projections.getProjectionByCode("EPSG:3857"))
    388389        Path tmpdir = Files.createTempDirectory(FileSystems.getDefault().getPath(base_dir), "pref")
Note: See TracChangeset for help on using the changeset viewer.