Revision 45381
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 | ||
---|---|---|
79 | 79 |
this.checkInitialized(); |
80 | 80 |
|
81 | 81 |
// With viewport changes all layers must be redrawn, discard cache |
82 |
if (cachedImage != null && cachedImage.hasChangedViewPortDrawVersion()) { |
|
82 |
if( !this.isValidFullCachedImage() ) { |
|
83 |
// if (cachedImage != null && cachedImage.hasChangedViewPortDrawVersion()) { |
|
83 | 84 |
cachedImage = null; |
84 | 85 |
} |
85 | 86 |
|
Also available in: Unified diff