Ticket #2140: FixRelationHandling.patch
File FixRelationHandling.patch, 952 bytes (added by , 16 years ago) |
---|
-
src/org/openstreetmap/josm/actions/mapmode/SelectAction.java
186 186 virtualWay = null; 187 187 virtualNode = null; 188 188 } else { 189 Collection<OsmPrimitive> selection = Main.ds.getSelected(); 189 // Currently we support moving and rotating, which do not affect relations. 190 // So don't add them in the first place to make handling easier 191 Collection<OsmPrimitive> selection = Main.ds.getSelectedWays(); 192 selection.addAll(Main.ds.getSelectedNodes()); 190 193 Collection<Node> affectedNodes = AllNodesVisitor.getAllNodes(selection); 191 194 192 195 // when rotating, having only one node makes no sense - quit silently