Ignore:
Timestamp:
2009-11-11T08:34:56+01:00 (16 years ago)
Author:
jttt
Message:

Cache bbox for Way

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/Node.java

    r2427 r2437  
    2525            }
    2626            if (getDataSet() != null) {
    27                 getDataSet().reindexNode(this);
     27                getDataSet().fireNodeMoved(this);
    2828            }
    2929        }
     
    4343            }
    4444            if (getDataSet() != null) {
    45                 getDataSet().reindexNode(this);
     45                getDataSet().fireNodeMoved(this);
    4646            }
    4747        }
     
    177177    }
    178178
     179    @Override
    179180    public BBox getBBox() {
    180181        if (coor == null)
     
    183184            return new BBox(coor, coor);
    184185    }
     186
     187    @Override
     188    public void updatePosition() {
     189        // Do nothing for now, but in future replace CachedLatLon with simple doubles and update precalculated EastNorth value here
     190    }
    185191}
Note: See TracChangeset for help on using the changeset viewer.