Changeset 31644 in osm for applications/editors/josm/plugins/splinex/src/org
- Timestamp:
- 2015-10-19T13:17:11+02:00 (9 years ago)
- Location:
- applications/editors/josm/plugins/splinex/src/org/openstreetmap/josm/plugins/Splinex
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/splinex/src/org/openstreetmap/josm/plugins/Splinex/DrawSplineAction.java
r31130 r31644 277 277 if (lockCounterpart) { 278 278 if (ph.point == SplinePoint.CONTROL_NEXT) 279 ph.sn.cprev = ph.sn.cnext.sub(new EastNorth(0, 0));279 ph.sn.cprev = new EastNorth(0, 0).subtract(ph.sn.cnext); 280 280 else if (ph.point == SplinePoint.CONTROL_PREV) 281 ph.sn.cnext = ph.sn.cprev.sub(new EastNorth(0, 0));281 ph.sn.cnext = new EastNorth(0, 0).subtract(ph.sn.cprev); 282 282 } 283 283 } -
applications/editors/josm/plugins/splinex/src/org/openstreetmap/josm/plugins/Splinex/Spline.java
r31130 r31644 171 171 return; 172 172 case CONTROL_PREV: 173 sn.cprev = sn.node.getEastNorth() .sub(en);173 sn.cprev = en.subtract(sn.node.getEastNorth()); 174 174 return; 175 175 case CONTROL_NEXT: 176 sn.cnext = sn.node.getEastNorth() .sub(en);176 sn.cnext = en.subtract(sn.node.getEastNorth()); 177 177 return; 178 178 }
Note:
See TracChangeset
for help on using the changeset viewer.