Changeset 11765 in josm for trunk


Ignore:
Timestamp:
2017-03-21T22:02:40+01:00 (2 years ago)
Author:
michael2402
Message:

See #13604: Add more debug info to trace this.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/MapView.java

    r11746 r11765  
    473473        }
    474474
     475        try {
     476            drawMapContent(g);
     477        } catch (RuntimeException e) {
     478            throw BugReport.intercept(e).put("visibleLayers", layerManager::getVisibleLayersInZOrder)
     479                    .put("temporaryLayers", temporaryLayers);
     480        }
     481        super.paint(g);
     482    }
     483
     484    private void drawMapContent(Graphics g) {
    475485        List<Layer> visibleLayers = layerManager.getVisibleLayersInZOrder();
    476486
     
    586596            Main.error(e);
    587597        }
    588         super.paint(g);
    589598    }
    590599
Note: See TracChangeset for help on using the changeset viewer.