Ignore:
Timestamp:
2009-11-02T08:58:53+01:00 (15 years ago)
Author:
jttt
Message:

Replace Dataset.nodes with getNodes(), etc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/osmarender/src/org/openstreetmap/josm/plugins/osmarender/OsmarenderPlugin.java

    r18293 r18417  
    5656            CollectBackReferencesVisitor backRefsV = new CollectBackReferencesVisitor(Main.main.getCurrentDataSet(), true);
    5757            DataSet fromDataSet = new DataSet();
    58             for (Node n : Main.main.getCurrentDataSet().nodes) {
     58            for (Node n : Main.main.getCurrentDataSet().getNodes()) {
    5959                if (n.isUsable() && n.getCoor().isWithin(b)) {
    60                     fromDataSet.nodes.add(n);
     60                    fromDataSet.addPrimitive(n);
    6161                    n.visit(backRefsV);
    6262                }
Note: See TracChangeset for help on using the changeset viewer.