BuildingRenderer: deprecate redundant S3DB render from parent tiles
This commit is contained in:
parent
d76ac00403
commit
25aa1329fc
@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright 2013 Hannes Janetzek
|
||||
* Copyright 2018 devemux86
|
||||
*
|
||||
* This file is part of the OpenScienceMap project (http://www.opensciencemap.org).
|
||||
*
|
||||
@ -142,18 +143,15 @@ public class BuildingRenderer extends ExtrusionRenderer {
|
||||
compiled = true;
|
||||
}
|
||||
}
|
||||
} else if (zoom == mZoomMax + 1) {
|
||||
/* special case for s3db: render from parent tiles */
|
||||
}
|
||||
/*else if (zoom == mZoomMax + 1) {
|
||||
// special case for s3db: render from parent tiles
|
||||
for (int i = 0; i < mTileSet.cnt; i++) {
|
||||
MapTile t = tiles[i].node.parent();
|
||||
|
||||
if (t == null)
|
||||
continue;
|
||||
|
||||
// for (MapTile c : mTiles)
|
||||
// if (c == t)
|
||||
// continue O;
|
||||
|
||||
ExtrusionBuckets ebs = getBuckets(t);
|
||||
if (ebs == null)
|
||||
continue;
|
||||
@ -166,7 +164,8 @@ public class BuildingRenderer extends ExtrusionRenderer {
|
||||
compiled = true;
|
||||
}
|
||||
}
|
||||
} else if (zoom == mZoomMin - 1) {
|
||||
}*/
|
||||
else if (zoom == mZoomMin - 1) {
|
||||
/* check if proxy children are ready */
|
||||
for (int i = 0; i < mTileSet.cnt; i++) {
|
||||
MapTile t = tiles[i];
|
||||
|
Loading…
x
Reference in New Issue
Block a user