Revision 43862 branches/org.gvsig.desktop-2018a/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.mapcontext/org.gvsig.fmap.mapcontext.impl/src/main/java/org/gvsig/raster/lib/legend/impl/DefaultRasterLegend.java

View differences:

DefaultRasterLegend.java
291 291
                    getFilters().setDefaultParameters(defaultParameters);
292 292

  
293 293
                    Object oColorInterpretation = null;
294
                    filteredBuffer = getFilters().execute(bufferToDraw);
294
                    filteredBuffer = getFilters().execute(null, bufferToDraw);
295 295
                    oColorInterpretation = getFilters().getParameterValue(ColoredOperation.OUTPUT_COLOR_INTERPRETATION_PARAM);
296 296
                    ColorInterpretation colorInterpretationAfterFilters = null;
297 297
                    if (oColorInterpretation != null) {
......
309 309
//                        colorTableOperationParameters.setDynValue(ColoredOperation.COPY_UNPROCESSED_BANDS_PARAM,
310 310
//                            true);
311 311
                        Buffer rgbBuffer =
312
                            operationManager.execute(ColoredOperation.COLOR_TABLE_OPERATION_NAME, filteredBuffer,
312
                            operationManager.execute(null, ColoredOperation.COLOR_TABLE_OPERATION_NAME, filteredBuffer,
313 313
                                colorTableOperationParameters);
314 314
                        image =
315 315
                            drawRGBBuffer(graphics, rgbBuffer,
......
861 861
            OperationManager operationManager = BufferLocator.getOperationManager();
862 862
            DynObject parameters = operationManager.createOperationParameters(SpecifiedBandsOperation.LINEAR_STRETCH_ENHANCEMENT_NAME);
863 863
            parameters.setDynValue(AbstractSpecifiedBandsOperation.BANDS_TO_PROCESS_PARAM, bandsToProcess);
864
            return operationManager.execute(SpecifiedBandsOperation.LINEAR_STRETCH_ENHANCEMENT_NAME, buffer, parameters);
864
            return operationManager.execute(null, SpecifiedBandsOperation.LINEAR_STRETCH_ENHANCEMENT_NAME, buffer, parameters);
865 865
        }
866 866
        return buffer;
867 867
    }

Also available in: Unified diff