|
@@ -22398,7 +22398,15 @@ window.Modernizr = function(n, e, t) {
|
|
|
window.stats && (stats.dom.parentElement && stats.dom.parentElement.removeChild(stats.dom), window.stats = null)
|
|
|
return;
|
|
|
}
|
|
|
+ var oldMaxZoom = this.qualityManager.getMaxZoomPanoSize()
|
|
|
this.qualityManager.updateMaximums()
|
|
|
+ var nowMaxZoom = this.qualityManager.getMaxZoomPanoSize()
|
|
|
+
|
|
|
+ if(nowMaxZoom > oldMaxZoom && this.mode == 'panorama' && this.currentPano.zoomed){
|
|
|
+ this.panoRenderer.resetRenderStatus(this.currentPano.id, !1, !0, oldMaxZoom /* this.qualityManager.getMaxNavPanoSize() */);
|
|
|
+ this.panoRenderer.clearAllQueuedUploadsForPano(this.currentPano.id);
|
|
|
+ this.panoRenderer.renderPanoTiles(this.currentPano.id, null, !1, !1);
|
|
|
+ }
|
|
|
|
|
|
|
|
|
},5000)
|
|
@@ -24579,7 +24587,7 @@ window.Modernizr = function(n, e, t) {
|
|
|
|
|
|
window.stats = new Stats();
|
|
|
window.stats.begin()
|
|
|
- e.appendChild( stats.dom );
|
|
|
+ //e.appendChild( stats.dom );
|
|
|
}
|
|
|
,
|
|
|
n.prototype.overrideTextures = function() {
|
|
@@ -28231,7 +28239,7 @@ window.Modernizr = function(n, e, t) {
|
|
|
,
|
|
|
n.prototype.detectMaxZoomPanoSize = function() {
|
|
|
//return this.useHighResolutionPanos ? a.isMobile() ? o.tiling.mobileHighQualityOverride ? this.getPanoSize(r.HIGH) : this.getPanoSize(r.STANDARD) : this.useUltraHighResolutionPanos ? this.getPanoSize(r.ULTRAHIGH) : this.getPanoSize(r.HIGH) : this.getPanoSize(r.STANDARD)
|
|
|
- if(window.fps && window.fps.aveFps>56){
|
|
|
+ if(this.useUltraHighResolutionPanos && window.fps && window.fps.aveFps>56 ){
|
|
|
return this.getPanoSize(r.ULTRAHIGH)
|
|
|
}else{
|
|
|
return this.getPanoSize(r.HIGH)
|