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