Ignore:
Timestamp:
2016-07-28T23:31:34+02:00 (8 years ago)
Author:
floscher
Message:

not requiring mapillary developer mode for changesets anymore.

Patch submitted by peterneubauer<peter@…>.

Location:
applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/MapillaryPlugin.java

    r32690 r32740  
    227227      Main.map.addToggleDialog(MapillaryMainDialog.getInstance(), false);
    228228      Main.map.addToggleDialog(MapillaryHistoryDialog.getInstance(), false);
    229       if (Main.pref.getBoolean("mapillary.developer")) {
    230         Main.map.addToggleDialog(MapillaryChangesetDialog.getInstance(), false);
    231       }
     229      Main.map.addToggleDialog(MapillaryChangesetDialog.getInstance(), false);
    232230      Main.map.addToggleDialog(MapillaryFilterDialog.getInstance(), false);
    233231      setMenuEnabled(downloadMenu, true);
  • applications/editors/josm/plugins/mapillary/src/org/openstreetmap/josm/plugins/mapillary/mode/SelectMode.java

    r32658 r32740  
    106106      if (e.isShiftDown()) { // turn
    107107        for (MapillaryAbstractImage img : data.getMultiSelectedImages()) {
    108           if (Main.pref.getBoolean("mapillary.developer") || !(img instanceof MapillaryImage)) {
     108          if (!(img instanceof MapillaryImage)) {
    109109            img.turn(Math.toDegrees(Math.atan2(e.getX() - highlightImgPoint.getX(), -e.getY() + highlightImgPoint.getY())) - highlightImg.getTempCa());
    110110          }
     
    112112      } else { // move
    113113        for (MapillaryAbstractImage img : this.data.getMultiSelectedImages()) {
    114           if (Main.pref.getBoolean("mapillary.developer") || !(img instanceof MapillaryImage)) {
     114          if (!(img instanceof MapillaryImage)) {
    115115            LatLon eventLatLon = Main.map.mapView.getLatLon(e.getX(), e.getY());
    116116            LatLon imgLatLon = Main.map.mapView.getLatLon(highlightImgPoint.getX(), highlightImgPoint.getY());
Note: See TracChangeset for help on using the changeset viewer.