Changeset 26457 in osm for applications/editors/josm/plugins
- Timestamp:
- 2011-08-05T10:16:05+02:00 (13 years ago)
- Location:
- applications/editors/josm/plugins/FastDraw
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/FastDraw/build.xml
r26455 r26457 30 30 <project name="FastDraw" default="dist" basedir="."> 31 31 <!-- enter the SVN commit message --> 32 <property name="commit.message" value="FastDraw: draw last line segment, up/down=change minDelta"/>32 <property name="commit.message" value="FastDraw: fix NPE in last segment drawing"/> 33 33 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 34 34 <property name="plugin.main.version" value="4201"/> -
applications/editors/josm/plugins/FastDraw/src/org/openstreetmap/josm/plugins/fastdraw/FastDrawingMode.java
r26455 r26457 247 247 Point lp=line.getLastPoint(); 248 248 Point mp=Main.map.mapView.getMousePosition(); 249 g.drawLine(lp.x,lp.y,mp.x,mp.y);249 if (lp!=null && mp!=null) g.drawLine(lp.x,lp.y,mp.x,mp.y); 250 250 } 251 251 }
Note:
See TracChangeset
for help on using the changeset viewer.