Changeset 584

Show
Ignore:
Timestamp:
06/26/08 17:02:51 (5 months ago)
Author:
tom
Message:

fixed an oops in TileGrid in tweening branch

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/tom-tweenlite/lib/com/modestmaps/core/TileGrid.as

    r583 r584  
    401401                                        var stillNeedsAnImage:Boolean = !foundParent && foundChildren < 4;                                       
    402402                                        // if it still doesn't have an image yet, try more parent zooms 
    403                                         if (stillNeedsAnImage && maxParentSearch > 1 && tileReady && currentZoom > minZoom) { 
     403                                        if (stillNeedsAnImage && maxParentSearch > 1 && !tileReady && currentZoom > minZoom) { 
    404404                                                for (pzoom = startZoomSearch; pzoom >= endZoomSearch; pzoom--) { 
    405405                                                        pkey = parentKey(col, row, currentZoom, pzoom);