|
@@ -407,7 +407,7 @@ class Panorama extends THREE.EventDispatcher{
|
|
|
|
|
|
|
|
|
enter(){
|
|
|
- this.loaded = true
|
|
|
+ this.entered = true
|
|
|
this.setZoomed(!1)
|
|
|
viewer.dispatchEvent({type:PanoramaEvents.Enter, oldPano:old, newPano:this } )
|
|
|
old = this
|
|
@@ -423,7 +423,7 @@ class Panorama extends THREE.EventDispatcher{
|
|
|
this.highestPartialTileRenderOpCompleted = 0;
|
|
|
this.highestFullTileRenderOpCompleted = 0;
|
|
|
this.depthTex && this.depthTex.dispose() //贴图不使用后先dispose,下次到该点时会自动还原
|
|
|
- this.loaded = false //add
|
|
|
+ this.entered = false //add
|
|
|
|
|
|
//console.log("exit pano "+ this.id)
|
|
|
|