Changeset 15920 in josm
- Timestamp:
- 2020-02-24T21:00:34+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Selector.java
r15910 r15920 379 379 private void visitBBox(Environment e, AbstractFinder finder) { 380 380 boolean withNodes = finder instanceof ContainsFinder; 381 if (left instanceof OptimizedGeneralSelector) { 381 if (e.osm.getDataSet() == null) { 382 // do nothing 383 } else if (left instanceof OptimizedGeneralSelector) { 382 384 if (withNodes && ((OptimizedGeneralSelector) left).matchesBase(OsmPrimitiveType.NODE)) { 383 385 finder.visit(e.osm.getDataSet().searchNodes(e.osm.getBBox())); … … 438 440 e.parent = e.osm; 439 441 if (right instanceof OptimizedGeneralSelector 442 && e.osm.getDataSet() != null 440 443 && ((OptimizedGeneralSelector) right).matchesBase(OsmPrimitiveType.WAY)) { 441 444 final CrossingFinder crossingFinder = new CrossingFinder(e);
Note:
See TracChangeset
for help on using the changeset viewer.