Ignore:
Timestamp:
2013-06-28T23:10:10+02:00 (11 years ago)
Author:
pieren
Message:

remove image cropping in georef refinement.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/MenuActionRefineGeoRef.java

    r29717 r29722  
    3838        }
    3939        rasterImageGeoreferencer.addListener();
    40         if (Main.pref.getBoolean("cadastrewms.noImageCropping", false) == false)
    41         {
    42             Object[] options = { "Yes", "No" };
    43             int ret = JOptionPane.showOptionDialog( null,
    44                     tr("Would you like to crop image\nagain ?"),
    45                     tr("Image cropping"),
    46                     JOptionPane.DEFAULT_OPTION, JOptionPane.INFORMATION_MESSAGE,
    47                     null, options, options[0]);
    48             if (ret == JOptionPane.OK_OPTION)
    49                 rasterImageGeoreferencer.startCropping(wmsLayer);
    50             else
    51                 rasterImageGeoreferencer.startGeoreferencing(wmsLayer);
    52         }
    53         else
    54             rasterImageGeoreferencer.startGeoreferencing(wmsLayer);
     40        rasterImageGeoreferencer.startGeoreferencing(wmsLayer);
    5541    }
    5642
Note: See TracChangeset for help on using the changeset viewer.