- Timestamp:
- 2017-04-24T21:59:15+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/FilterMatcher.java
r11993 r11997 225 225 private static FilterType test(List<FilterInfo> filters, OsmPrimitive primitive, boolean hidden) { 226 226 227 if (primitive.isIncomplete() || Main.map.mapMode.getPreservedPrimitives().contains(primitive))227 if (primitive.isIncomplete() || (Main.map != null && Main.map.mapMode.getPreservedPrimitives().contains(primitive))) 228 228 return FilterType.NOT_FILTERED; 229 229
Note:
See TracChangeset
for help on using the changeset viewer.