Revision 21868
trunk/extensions/extRemoteSensing/src/org/gvsig/remotesensing/mosaic/process/HistogramMatchProcess.java | ||
---|---|---|
167 | 167 |
lyr.setRenderBands(new int[]{0,1,2}); |
168 | 168 |
else if (numbands==1) |
169 | 169 |
lyr.setRenderBands(new int[]{0,0,0}); |
170 |
if(view == null) |
|
171 |
return; |
|
170 | 172 |
view.getModel().getMapContext().getLayers().addLayer(lyr); |
171 | 173 |
} catch (LoadLayerException e) { |
172 | 174 |
RasterToolsUtil.messageBoxError("error_cargar_capa", this, e); |
Also available in: Unified diff