Changeset 1565 in osm for utils


Ignore:
Timestamp:
2006-11-11T11:59:53+01:00 (18 years ago)
Author:
nick
Message:

minor bug corrected - draw areas before unwayed segments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • utils/josm/plugins/mappaint/src/mappaint/MapPaintVisitor.java

    r1564 r1565  
    185185        public void visitAll(DataSet data) {
    186186
     187                for (final OsmPrimitive osm : data.ways) {
     188                        if(!osm.deleted && MapPaintPlugin.elemStyles.isArea(osm))
     189                                osm.visit(this);
     190                }
     191
    187192                for (final OsmPrimitive osm : data.segments)
    188193                        if (!osm.deleted)
    189194                                osm.visit(this);
    190195
    191                 for (final OsmPrimitive osm : data.ways) {
    192                         if(!osm.deleted && MapPaintPlugin.elemStyles.isArea(osm))
    193                                 osm.visit(this);
    194                 }
    195196
    196197                for (final OsmPrimitive osm : data.ways) {
Note: See TracChangeset for help on using the changeset viewer.