Ignore:
Timestamp:
2009-07-21T20:37:54+02:00 (16 years ago)
Author:
jttt
Message:

Make it work without Main.ds

File:
1 edited

Legend:

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

    r16163 r16623  
    5252            }
    5353
    54             CollectBackReferencesVisitor backRefsV = new CollectBackReferencesVisitor(Main.ds, true);
     54            CollectBackReferencesVisitor backRefsV = new CollectBackReferencesVisitor(Main.main.getCurrentDataSet(), true);
    5555            DataSet fromDataSet = new DataSet();
    56             for (Node n : Main.ds.nodes) {
     56            for (Node n : Main.main.getCurrentDataSet().nodes) {
    5757                if (n.deleted || n.incomplete) continue;
    5858                if (n.getCoor().isWithin(b)) {
Note: See TracChangeset for help on using the changeset viewer.