Skip to content

Commit

Permalink
updates 2 methods that might show up when swapping detail level sets
Browse files Browse the repository at this point in the history
  • Loading branch information
moagrius committed Aug 26, 2016
1 parent a085b2d commit c197a66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public boolean equals( Object object ) {
}
if( object instanceof DetailLevel ) {
DetailLevel detailLevel = (DetailLevel) object;
return mScale == detailLevel.getScale();
return mScale == detailLevel.getScale() && mData != null && mData.equals( detailLevel.getData() );
}
return false;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,9 @@ public boolean getIsRendering() {
* Clears existing tiles and cancels any existing render tasks.
*/
public void clear() {
suppressRender();
cancelRender();
mTilesInCurrentViewport.clear();
mPreviouslyDrawnTiles.clear();
invalidate();
}

Expand Down

0 comments on commit c197a66

Please sign in to comment.