Revision 20429

View differences:

trunk/extensions/extRasterTools-SE/src/org/gvsig/fmap/raster/layers/FLyrRasterSE.java
146 146
	 * Sirve para diferenciar los estados seleccionados por el usuario. Siendo
147 147
	 * estos 'Sin Valor NoData', 'NoData de Capa'(Por defecto) y 'Personalizado'
148 148
	 */
149
	private int noDataType = 1;
149
	private int noDataType = RasterLibrary.NODATATYPE_LAYER;
150 150

  
151 151
	/**
152 152
	 * Lista de transformaciones afines que son aplicadas. Esta lista es
......
364 364
	public void applyNoData() {
365 365
		Boolean noDataEnabled = configuration.getValueBoolean("nodata_transparency_enabled", Boolean.FALSE);
366 366
		if (noDataEnabled.booleanValue() && getDataSource().isNoDataEnabled()) {
367
			noDataType = 1;
367
			noDataType = RasterLibrary.NODATATYPE_LAYER;
368 368
			Double noDataValue = Double.valueOf(getNoDataValue());
369 369
			getDataSource().getTransparencyFilesStatus().setNoData(noDataValue.doubleValue());
370 370
		} else {
371
			noDataType = 0;
371
			noDataType = RasterLibrary.NODATATYPE_DISABLED;
372 372
		}
373 373
	}
374 374

  

Also available in: Unified diff