Ignore:
Timestamp:
2017-11-17T20:05:33+01:00 (7 years ago)
Author:
donvip
Message:

fix #josm15561 - IllegalArgumentException

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/command/TransformCommand.java

    r33809 r33821  
    99import org.openstreetmap.josm.Main;
    1010import org.openstreetmap.josm.command.Command;
     11import org.openstreetmap.josm.data.osm.DataSet;
    1112import org.openstreetmap.josm.data.osm.OsmPrimitive;
    12 import org.openstreetmap.josm.gui.MainApplication;
    1313import org.openstreetmap.josm.plugins.piclayer.layer.PicLayerAbstract;
    1414import org.openstreetmap.josm.plugins.piclayer.transform.PictureTransform;
     
    2323
    2424    public TransformCommand(PicLayerAbstract layer, String actionName) {
    25         super(MainApplication.getLayerManager().getEditDataSet());
     25        super(new DataSet()); // not really a command...
    2626        this.layer = layer;
    2727        this.actionName = actionName;
Note: See TracChangeset for help on using the changeset viewer.