Changeset 9283 in josm for trunk/scripts


Ignore:
Timestamp:
2016-01-03T17:50:21+01:00 (4 years ago)
Author:
Don-vip
Message:

fix taginfo groovy script broken by r9278

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/taginfoextract.groovy

    r9279 r9283  
    3434import org.openstreetmap.josm.gui.mappaint.mapcss.Selector.GeneralSelector
    3535import org.openstreetmap.josm.gui.mappaint.mapcss.parsergen.MapCSSParser
     36import org.openstreetmap.josm.gui.mappaint.styleelement.LineElement
    3637import org.openstreetmap.josm.gui.preferences.map.TaggingPresetPreference
    3738import org.openstreetmap.josm.gui.tagging.presets.TaggingPreset
     
    144145            osm.addNode(n2)
    145146            def env = apply_stylesheet(osm)
    146             def les = LineElemStyle.createLine(env)
     147            def les = LineElement.createLine(env)
    147148            if (les != null) {
    148149                if (!generate_image) return true
Note: See TracChangeset for help on using the changeset viewer.