Revision 45384 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.mapcontext/org.gvsig.fmap.mapcontext.api/src/main/java/org/gvsig/fmap/mapcontext/impl/DefaultMapContextDrawer.java

View differences:

DefaultMapContextDrawer.java
79 79
        this.checkInitialized();
80 80

  
81 81
        // With viewport changes all layers must be redrawn, discard cache
82
        if( !this.isValidFullCachedImage() ) {
83
//        if (cachedImage != null && cachedImage.hasChangedViewPortDrawVersion()) {
82
        if (cachedImage != null && cachedImage.hasChangedViewPortDrawVersion()) {
84 83
            cachedImage = null;
85 84
        }
86 85

  
......
631 630
                if (composed.canAdd(layer)) {
632 631
                    try {
633 632
                        composed.add(layer);
634
                        // System.out.println("=== a?adiendo a composicion de pintado "+
633
                        // System.out.println("=== aadiendo a composicion de pintado "+
635 634
                        // layerPos+ " "+layer.getName());
636 635
                        continue;
637 636
                    } catch (Exception e) {
......
647 646
                    if (composed != null) {
648 647
                        try {
649 648
                            composed.add(layer);
650
                            // System.out.println("=== a?adiendo a composicion de pintado "+
649
                            // System.out.println("=== aadiendo a composicion de pintado "+
651 650
                            // layerPos+ " "+layer.getName());
652 651
                            continue;
653 652
                        } catch (Exception e) {

Also available in: Unified diff