Revision 1031

View differences:

org.gvsig.raster/trunk/org.gvsig.raster/org.gvsig.raster.lib/org.gvsig.raster.lib.impl/src/main/java/org/gvsig/raster/impl/provider/DefaultRasterProvider.java
518 518
		if (colorInterpSerializer.getResult() != null) {
519 519
			DataStoreColorInterpretation ci = (DataStoreColorInterpretation) colorInterpSerializer.getResult();
520 520
			setColorInterpretation(ci);
521
			if (ci.getBand(DataStoreColorInterpretation.ALPHA_BAND) != -1)
522
				getTransparency().setTransparencyBand(ci.getBand(DataStoreColorInterpretation.ALPHA_BAND));
521
			getTransparency().setTransparencyBand(ci.getBand(DataStoreColorInterpretation.ALPHA_BAND));
523 522
		}
524 523

  
525 524
		if (projectionRmfSerializer.getResult() != null)

Also available in: Unified diff