Changeset 5176 in josm for trunk/src/org
- Timestamp:
- 2012-04-11T19:56:14+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/relations/Multipolygon.java
r4683 r5176 221 221 } 222 222 } 223 poly.closePath(); 223 if (!initial) { // fix #7593 224 poly.closePath(); 225 } 224 226 for (PolyData inner : inners) { 225 227 appendInner(inner.poly); … … 278 280 } 279 281 280 private void resetNodes( ) {282 private void resetNodes(DataSet dataSet) { 281 283 if (!nodes.isEmpty()) { 282 DataSet ds = null;284 DataSet ds = dataSet; 283 285 // Find DataSet (can be null for several nodes when undoing nodes creation, see #7162) 284 286 for (Iterator<Node> it = nodes.iterator(); it.hasNext() && ds == null; ) { … … 331 333 for (PolyData inner : inners) { 332 334 if (inner.wayIds.contains(wayId)) { 333 inner.resetNodes( );335 inner.resetNodes(event.getDataset()); 334 336 innerChanged = true; 335 337 } 336 338 } 337 339 if (wayIds.contains(wayId) || innerChanged) { 338 resetNodes( );340 resetNodes(event.getDataset()); 339 341 } 340 342 }
Note:
See TracChangeset
for help on using the changeset viewer.