Changeset 5552 in josm for trunk/src/org
- Timestamp:
- 2012-11-01T21:47:57+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/Way.java
r5490 r5552 56 56 for (Node node:this.nodes) { 57 57 node.removeReferrer(this); 58 node.clearCachedStyle(); 58 59 } 59 60 … … 65 66 for (Node node: this.nodes) { 66 67 node.addReferrer(this); 68 node.clearCachedStyle(); 67 69 } 68 70 … … 353 355 } 354 356 setNodes(removeDouble(copy)); 357 n.clearCachedStyle(); 355 358 } finally { 356 359 writeUnlock(locked); … … 383 386 } 384 387 setNodes(removeDouble(copy)); 388 for (Node n : selection) { 389 n.clearCachedStyle(); 390 } 385 391 } finally { 386 392 writeUnlock(locked); … … 409 415 newNodes[nodes.length] = n; 410 416 nodes = newNodes; 417 n.clearCachedStyle(); 411 418 fireNodesChanged(); 412 419 } finally { … … 440 447 newNodes[offs] = n; 441 448 nodes = newNodes; 449 n.clearCachedStyle(); 442 450 fireNodesChanged(); 443 451 } finally { … … 456 464 n.addReferrer(this); 457 465 } 466 n.clearCachedStyle(); 458 467 } 459 468 fireNodesChanged();
Note:
See TracChangeset
for help on using the changeset viewer.