and shortly after I removed the code that limited drawing of very short links... niantic chance the server and start returning them again!
so probably better with this re-enabled
This commit is contained in:
parent
754e733852
commit
2a35330fb7
@ -490,16 +490,14 @@ window.Render.prototype.getPortalClusterID = function(portal) {
|
|||||||
|
|
||||||
|
|
||||||
window.Render.prototype.linkVisible = function(link) {
|
window.Render.prototype.linkVisible = function(link) {
|
||||||
// server now culls short links - so no point in IITC also doing it
|
|
||||||
return true;
|
|
||||||
|
|
||||||
// if (!this.bounds.intersects(link.getBounds())) {
|
if (!this.bounds.intersects(link.getBounds())) {
|
||||||
// return false;
|
return false;
|
||||||
// }
|
}
|
||||||
|
|
||||||
// var lengthSquared = this.getLinkPixelLengthSquared (link);
|
var lengthSquared = this.getLinkPixelLengthSquared (link);
|
||||||
|
|
||||||
// return lengthSquared >= this.LINK_VISIBLE_PIXEL_LENGTH*this.LINK_VISIBLE_PIXEL_LENGTH;
|
return lengthSquared >= this.LINK_VISIBLE_PIXEL_LENGTH*this.LINK_VISIBLE_PIXEL_LENGTH;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user