|
@@ -30,11 +30,11 @@ export default class ConvertViews extends THREE.EventDispatcher{
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
- this.syncPosRot(sourceFakeApp.viewInfo, targetApp , convertInfo) //修改好位置朝向
|
|
|
|
|
|
+ //this.syncPosRot(sourceFakeApp.viewInfo, targetApp , convertInfo) //修改好位置朝向 这个4dkk的会报错但上一版是用这句
|
|
if(sourceApp.sceneType == 'kankan' || sourceFakeApp.viewInfo.isAtPano){
|
|
if(sourceApp.sceneType == 'kankan' || sourceFakeApp.viewInfo.isAtPano){
|
|
this.flyToPano(targetApp, sourceFakeApp.viewInfo.currentPano,{duration:0, zoomLevel:sourceFakeApp.viewInfo.zoomLevel})
|
|
this.flyToPano(targetApp, sourceFakeApp.viewInfo.currentPano,{duration:0, zoomLevel:sourceFakeApp.viewInfo.zoomLevel})
|
|
}
|
|
}
|
|
- //this.syncView(sourceApp, targetApp, convertInfo)
|
|
|
|
|
|
+ this.syncView(sourceApp, targetApp, convertInfo)//这个不记得有什么bug了
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -576,6 +576,8 @@ export default class ConvertViews extends THREE.EventDispatcher{
|
|
|
|
|
|
if(customer && customer.sceneType == 'laser'){
|
|
if(customer && customer.sceneType == 'laser'){
|
|
this.laserSyncView(customer, {position,target})
|
|
this.laserSyncView(customer, {position,target})
|
|
|
|
+ }else if(customer && customer.sceneType == 'kankan'){
|
|
|
|
+ this.syncView(sourceApp, targetApp, convertInfo)
|
|
}else{
|
|
}else{
|
|
let msg = {
|
|
let msg = {
|
|
position,
|
|
position,
|