Ignore:
Timestamp:
2011-12-03T00:14:54+01:00 (8 years ago)
Author:
Don-vip
Message:

Major performance improvements in multipolygons rendering

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/MultipolygonTest.java

    r4623 r4627  
    2121import org.openstreetmap.josm.data.osm.visitor.paint.relations.Multipolygon.JoinedWay;
    2222import org.openstreetmap.josm.data.osm.visitor.paint.relations.Multipolygon.PolyData.Intersection;
     23import org.openstreetmap.josm.data.osm.visitor.paint.relations.MultipolygonCache;
    2324import org.openstreetmap.josm.data.validation.Severity;
    2425import org.openstreetmap.josm.data.validation.Test;
     
    134135            checkMembersAndRoles(r);
    135136
    136             Multipolygon polygon = new Multipolygon(Main.map.mapView, r);
     137            Multipolygon polygon = MultipolygonCache.getInstance().get(Main.map.mapView, r);
    137138
    138139            boolean hasOuterWay = false;
Note: See TracChangeset for help on using the changeset viewer.