Ticket #21764: 21764.patch
| File 21764.patch, 773 bytes (added by , 4 years ago) |
|---|
-
src/org/openstreetmap/josm/plugins/alignways/AlignWaysCmdKeepLength.java
256 256 257 257 // Deny action if the nodes would end up outside world 258 258 for (EastNorth en : calculatedNodes.values()) { 259 if ( ProjectionRegistry.getProjection().eastNorth2latlon(en).isOutSideWorld())259 if (new Node(en).isOutSideWorld()) { 260 260 return AlignableStatus.ALGN_INV_OUTSIDE_WORLD; 261 } 261 262 } 262 263 263 264 // In all other cases alignment is possible
