#736 closed defect (fixed)
OSM layer no longer transparent
Reported by: | Owned by: | framm | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | Cc: |
Description
The changes from changeset r631 make the OSM layer hide all other layers.
Changing line 179 in src/org/openstreetmap/josm/gui/layer/OsmDataLayer.java from
BufferedImage bim = new BufferedImage(mv.getWidth(), mv.getHeight(), Transparency.OPAQUE);
to
BufferedImage bim = new BufferedImage(mv.getWidth(), mv.getHeight(), Transparency.TRANSLUCENT);
fixes the problem for me.
Attachments (0)
Change History (3)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 by , 17 years ago
The problem is not yet fixed because my change (rendering to BufferedImage) in OsmDataLayer now needs to be reverted (i.e. my second patch was a replacement for the first one, it was not an addition).
I had attached a fixed version (josm-render-speedup.2.diff) to http://josm.openstreetmap.de/ticket/685, but it seems the first version was committed. The new version renders everything to a BufferedImage, not only the OSM layer.