Index: applications/editors/josm/plugins/osmarender/build.xml
===================================================================
--- applications/editors/josm/plugins/osmarender/build.xml	(revision 16622)
+++ applications/editors/josm/plugins/osmarender/build.xml	(revision 16623)
@@ -26,5 +26,5 @@
                 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
                 <attribute name="Plugin-Description" value="Launches FireFox to display the current visible screen as a nice SVG image."/>
-                <attribute name="Plugin-Mainversion" value="1638"/>
+                <attribute name="Plugin-Mainversion" value="1815"/>
                 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
             </manifest>
Index: applications/editors/josm/plugins/osmarender/src/OsmarenderPlugin.java
===================================================================
--- applications/editors/josm/plugins/osmarender/src/OsmarenderPlugin.java	(revision 16622)
+++ applications/editors/josm/plugins/osmarender/src/OsmarenderPlugin.java	(revision 16623)
@@ -52,7 +52,7 @@
             }
 
-            CollectBackReferencesVisitor backRefsV = new CollectBackReferencesVisitor(Main.ds, true);
+            CollectBackReferencesVisitor backRefsV = new CollectBackReferencesVisitor(Main.main.getCurrentDataSet(), true);
             DataSet fromDataSet = new DataSet();
-            for (Node n : Main.ds.nodes) {
+            for (Node n : Main.main.getCurrentDataSet().nodes) {
                 if (n.deleted || n.incomplete) continue;
                 if (n.getCoor().isWithin(b)) {
