Changeset 16817 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2020-08-02T15:30:16+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/RenderingCLI.java
r16816 r16817 212 212 213 213 if (argCurrentStyle.styleUrl != null) { 214 argStyles.add(argCurrentStyle); 215 } else if (argStyles.isEmpty()) { 216 argCurrentStyle.styleUrl = "resource://styles/standard/elemstyles.mapcss"; 214 217 argStyles.add(argCurrentStyle); 215 218 } … … 581 584 582 585 private void checkPreconditions(RenderingHelper rh) { 583 if (argStyles.isEmpty())584 throw new IllegalArgumentException(tr("Missing argument - at least one style expected ({0})", "--style"));585 586 586 Dimension imgSize = rh.getImageSize(); 587 587 Logging.debug("image size (px): {0}x{1}", imgSize.width, imgSize.height);
Note:
See TracChangeset
for help on using the changeset viewer.