Ignore:
Timestamp:
2017-02-26T00:59:32+01:00 (9 years ago)
Author:
Don-vip
Message:

fix #3346 - improve drastically the performance of fixing duplicate nodes by:

  • caching data sources area computation
  • moving layer invalidation from UndoRedoHandler.addNoRedraw to UndoRedoHandler.add
  • avoiding any EDT call when building tag conflict dialog if it's not meant to be displayed
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/relation/ParentRelationLoadingTask.java

    r11553 r11627  
    161161
    162162                // copy the merged layer's data source info
    163                 getLayer().data.dataSources.addAll(referrers.dataSources);
     163                getLayer().data.addDataSources(referrers.getDataSources());
    164164                // FIXME: this is necessary because there are dialogs listening
    165165                // for DataChangeEvents which manipulate Swing components on this thread.
Note: See TracChangeset for help on using the changeset viewer.