فهرست منبع

Merge branch 'v1.2.0-ga' of http://192.168.0.115:3000/bill/fuse-code into v1.2.0-ga

bill 4 ماه پیش
والد
کامیت
80fdc27ef9
3فایلهای تغییر یافته به همراه6 افزوده شده و 7 حذف شده
  1. 4 4
      public/lib/potree/potree.js
  2. 1 1
      public/lib/potree/potree.js.map
  3. 1 2
      src/sdk/cover/index.js

+ 4 - 4
public/lib/potree/potree.js

@@ -62212,6 +62212,10 @@
 	      },
 	      callback: () => {
 	        this.video.play();
+	        viewer.dispatchEvent({
+	          type: 'watchMonitor',
+	          monitor: this
+	        });
 	      },
 	      duration: 1500
 	    });
@@ -62266,10 +62270,6 @@
 	      this.cylinder.bottom.material = this.normalMat;
 	      //this.cylinder.bottom.renderOrder = RenderOrder.visibleFloor
 	    }
-	    viewer.dispatchEvent({
-	      type: 'watchMonitor',
-	      monitor: this
-	    });
 	  }
 	  play() {
 	    //console.log('play monitor', this.sid, this.videoSrc)

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 1 - 1
public/lib/potree/potree.js.map


+ 1 - 2
src/sdk/cover/index.js

@@ -1388,9 +1388,8 @@ export const enter = ({ dom, mapDom, isLocal, lonlat, scenes, laserRoot, laserOS
                     AnimationEditor.pause()
                 },
                 setCurrentTime(s){// 设置当前时间, 单位为秒 
-                    
                     (!AnimationEditor.playing || s == 0) && AnimationEditor.at(s) //除非s==0否则一定要先pause后才能设置时间
-                    console.log('setCurrentTime',s, AnimationEditor.playing, AnimationEditor.cursorTime)
+                    //console.log('setCurrentTime',s, AnimationEditor.playing, AnimationEditor.cursorTime)
                 }, 
                 addAnimationModel(data){// 添加动画模型
                    /*  title: string;   模型名称