Changeset 7269 in josm for trunk/src/org


Ignore:
Timestamp:
2014-06-24T22:49:23+02:00 (10 years ago)
Author:
Don-vip
Message:

fix #10168 - double default value of createcircle.nodecount from 8 to 16

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/CreateCircleAction.java

    r7005 r7269  
    100100        double a;
    101101        Node node;
    102        
     102
    103103        PolarNode(EastNorth center, Node n) {
    104104            EastNorth pt = n.getEastNorth();
     
    123123        }
    124124    }
    125    
     125
    126126    @Override
    127127    public void actionPerformed(ActionEvent e) {
     
    129129            return;
    130130
    131         int numberOfNodesInCircle = Main.pref.getInteger("createcircle.nodecount", 8);
     131        int numberOfNodesInCircle = Main.pref.getInteger("createcircle.nodecount", 16);
    132132        if (numberOfNodesInCircle < 1) {
    133133            numberOfNodesInCircle = 1;
     
    172172        Collection<Command> cmds = new LinkedList<>();
    173173        EastNorth center = null;
    174        
     174
    175175        if (nodes.size() == 2) {
    176176            // diameter: two single nodes needed or a way with two nodes
Note: See TracChangeset for help on using the changeset viewer.