Revision 11148 branches/v10/libraries/libFMap/src/com/iver/cit/gvsig/fmap/layers/FLyrRaster.java

View differences:

FLyrRaster.java
584 584
			//de realce si la imagen es de 16 bits.
585 585
			
586 586
			Statistic stats = getSource().getFilterStack().getStats();
587
			if(stats != null)
588
				stats.history.add(stats.new History(getName(), stats.minBandValue, stats.maxBandValue, stats.secondMinBandValue, stats.secondMaxBandValue));	
587
			try{
588
				if(stats != null)
589
					stats.history.add(stats.new History(getName(), stats.minBandValue, stats.maxBandValue, stats.secondMinBandValue, stats.secondMaxBandValue));
590
			}catch(NoSuchFieldError e){
591
				e.printStackTrace();
592
			}
589 593
					
590 594
			
591 595
			for (int tileNr=0; tileNr < tiles.getNumTiles(); tileNr++) {

Also available in: Unified diff