Skip to content

Commit

Permalink
Merge tag 'v2.6.7' into topic/v2_visibility_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mousebird committed Jul 20, 2021
2 parents 66f709f + ddcab0a commit 81c94a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ios/library/WhirlyGlobeLib/src/ScreenImportance.mm
Original file line number Diff line number Diff line change
Expand Up @@ -304,11 +304,11 @@ bool TileIsOnScreen(WhirlyKitViewState *viewState,WhirlyKit::Point2f frameSize,W
if (dispSolid)
attrs[@"DisplaySolid"] = dispSolid;
else
attrs[@"DisplaySolid"] = [NSNull null];
attrs[@"DisplaySolid"] = [NSNull class];
}

// This means the tile is degenerate (as far as we're concerned)
if ([dispSolid isKindOfClass:[NSNull null]])
if ([dispSolid isKindOfClass:[NSNull class]])
return false;

return [dispSolid isOnScreenForViewState:viewState frameSize:frameSize];
Expand Down

0 comments on commit 81c94a1

Please sign in to comment.