Changeset 10378 in josm for trunk/src/org/openstreetmap/josm/gui/layer/Layer.java
- Timestamp:
- 2016-06-15T10:30:37+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/Layer.java
r10371 r10378 175 175 memoryBytesRequired += layer.estimateMemoryUsage(); 176 176 } 177 if (memoryBytesRequired > 177 if (memoryBytesRequired > Runtime.getRuntime().maxMemory()) { 178 178 throw new IllegalArgumentException( 179 179 tr("To add another layer you need to allocate at least {0,number,#}MB memory to JOSM using -Xmx{0,number,#}M " … … 336 336 public void setVisible(boolean visible) { 337 337 boolean oldValue = isVisible(); 338 this.visible 338 this.visible = visible; 339 339 if (visible && opacity == 0) { 340 340 setOpacity(1);
Note:
See TracChangeset
for help on using the changeset viewer.