Changeset 31095 in osm for applications
- Timestamp:
- 2015-04-21T15:55:12+02:00 (10 years ago)
- Location:
- applications/editors/josm/plugins/buildings_tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/buildings_tools/build.xml
r31093 r31095 2 2 <project name="buildings_tools" default="dist" basedir="."> 3 3 <!-- enter the SVN commit message --> 4 <property name="commit.message" value="BuildingTools: add icon for "merge address" function"/>4 <property name="commit.message" value="BuildingTools: Alt key to disable tags"/> 5 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 6 6 <property name="plugin.main.version" value="7128"/> -
applications/editors/josm/plugins/buildings_tools/src/buildings_tools/Building.java
r30737 r31095 300 300 cmds.add(new AddCommand(nodes[i])); 301 301 } 302 w.setKeys(ToolSettings.getTags());303 302 cmds.add(new AddCommand(w)); 304 303 -
applications/editors/josm/plugins/buildings_tools/src/buildings_tools/DrawBuildingAction.java
r31091 r31095 309 309 if (building.getLength() != 0) { 310 310 Way w = building.create(); 311 if (w != null && ToolSettings.isUsingAddr()) 312 showAddrDialog(w); 313 if (ToolSettings.isAutoSelect() 314 && (Main.main.getCurrentDataSet().getSelected().isEmpty() || isShiftDown)) { 315 Main.main.getCurrentDataSet().setSelected(w); 311 if (w != null) { 312 if (!isAltDown || ToolSettings.isUsingAddr()) 313 w.setKeys(ToolSettings.getTags()); 314 if (ToolSettings.isUsingAddr()) 315 showAddrDialog(w); 316 if (ToolSettings.isAutoSelect() 317 && (Main.main.getCurrentDataSet().getSelected().isEmpty() || isShiftDown)) { 318 Main.main.getCurrentDataSet().setSelected(w); 319 } 316 320 } 317 321 }
Note:
See TracChangeset
for help on using the changeset viewer.