Revision 6787 org.gvsig.raster/branches/org.gvsig.raster.2.4/org.gvsig.raster/org.gvsig.fmap.mapcontext.raster.swing/org.gvsig.fmap.mapcontext.raster.swing.impl/src/main/java/org/gvsig/fmap/mapcontext/raster/swing/impl/bands/BandsPanelController.java
BandsPanelController.java | ||
---|---|---|
243 | 243 |
bandDescriptor.setNoData(noData); |
244 | 244 |
colorInterpretations.add(rasterStoreBand.getBandColorInterpretation()); |
245 | 245 |
} |
246 |
rasterLayer.recalculateStatistics(); |
|
246 | 247 |
|
247 | 248 |
ColorInterpretation colorInterpretation = null; |
248 | 249 |
colorInterpretation = |
... | ... | |
251 | 252 |
RasterLegend legend = rasterLegendManager.createLegend(colorInterpretation); |
252 | 253 |
rasterLayer.setLegend(legend); |
253 | 254 |
rasterLayer.getMapContext().invalidate(); |
254 |
rasterLayer.recalculateStatistics(); |
|
255 | 255 |
return true; |
256 | 256 |
} |
257 | 257 |
|
Also available in: Unified diff