Changeset 15606 in josm for trunk/src/org/openstreetmap/josm/gui/layer/gpx
- Timestamp:
- 2019-12-21T15:33:07+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/gpx/GpxDrawHelper.java
r15586 r15606 310 310 311 311 int l = optInt("lines"); 312 if (!data.fromServer) { 312 // -1 = global (default: all) 313 // 0 = none 314 // 1 = local 315 // 2 = all 316 if (!data.fromServer) { //local settings apply 313 317 maxLineLength = optInt("lines.max-length.local"); 314 lines = l != 0; // draw for -1 (default), 1 (local) and 2 (all)318 lines = l != 0; // don't draw if "none" 315 319 } else { 316 320 maxLineLength = optInt("lines.max-length"); 317 lines = l == 2; //draw only for 2 (all)321 lines = l != 0 && l != 1; //don't draw if "none" or "local only" 318 322 } 319 323 large = optBool("points.large");
Note:
See TracChangeset
for help on using the changeset viewer.