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

Make it work without Main.ds

Location:
applications/editors/josm/plugins/osmarender
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/osmarender/build.xml

    r16239 r16623  
    2626                <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
    2727                <attribute name="Plugin-Description" value="Launches FireFox to display the current visible screen as a nice SVG image."/>
    28                 <attribute name="Plugin-Mainversion" value="1638"/>
     28                <attribute name="Plugin-Mainversion" value="1815"/>
    2929                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    3030            </manifest>
  • 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.