Ignore:
Timestamp:
2011-12-27T17:30:32+01:00 (9 years ago)
Author:
jttt
Message:

Fix #7074 Crash after purging some data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/template_engine/ContextSwitchTemplate.java

    r4724 r4725  
    6868            List<OsmPrimitive> result = new ArrayList<OsmPrimitive>();
    6969            for (OsmPrimitive child: children) {
    70                 for (OsmPrimitive parent: child.getReferrers()) {
     70                for (OsmPrimitive parent: child.getReferrers(true)) {
    7171                    if (condition == null || condition.match(parent)) {
    7272                        result.add(parent);
Note: See TracChangeset for help on using the changeset viewer.