Revision 20721 trunk/extensions/extRasterTools-SE/src/org/gvsig/raster/util/process/FilterProcess.java
FilterProcess.java | ||
---|---|---|
90 | 90 |
} |
91 | 91 |
|
92 | 92 |
// Si el numero de bandas coincide asignamos la misma interpretacion que tenia antes |
93 |
if (buffer.getBandCount() == rasterDataSource.getBandCount()) {
|
|
93 |
if ((rendering != null) && (buffer.getBandCount() == rasterDataSource.getBandCount())) {
|
|
94 | 94 |
colorInterpretation = rendering.getRender().getColorInterpretation(); |
95 | 95 |
break; |
96 | 96 |
} |
... | ... | |
201 | 201 |
manager.removeClient(ser.getClass()); |
202 | 202 |
} |
203 | 203 |
|
204 |
externalActions.end(filename); |
|
204 |
if (externalActions != null) |
|
205 |
externalActions.end(filename); |
|
205 | 206 |
|
206 | 207 |
} catch (NotSupportedExtensionException e) { |
207 | 208 |
RasterToolsUtil.messageBoxError("error_writer_notsupportedextension", this, e); |
Also available in: Unified diff