Revision 20811 trunk/extensions/extRasterTools-SE/src/org/gvsig/raster/gui/wizards/FileOpenRaster.java
FileOpenRaster.java | ||
---|---|---|
28 | 28 |
import org.gvsig.fmap.raster.layers.FLyrRasterSE; |
29 | 29 |
import org.gvsig.raster.Configuration; |
30 | 30 |
import org.gvsig.raster.RasterProcess; |
31 |
import org.gvsig.raster.UniqueProcessQueue; |
|
31 | 32 |
import org.gvsig.raster.gui.wizards.projection.RasterProjectionActionsDialog; |
32 | 33 |
import org.gvsig.raster.gui.wizards.projection.RasterProjectionActionsPanel; |
33 | 34 |
import org.gvsig.raster.util.RasterToolsUtil; |
... | ... | |
139 | 140 |
if (execOverview) { |
140 | 141 |
RasterProcess process = new OverviewsProcess(); |
141 | 142 |
process.addParam("layer", (FLyrRasterSE) lyrRaster); |
142 |
process.execute(); |
|
143 |
lyrRaster = FLyrRasterSE.createLayer(file.getName(), file, null); |
|
143 |
UniqueProcessQueue.getSingleton().add(process); |
|
144 | 144 |
} |
145 | 145 |
} |
146 | 146 |
} catch (Exception e) { |
Also available in: Unified diff