ソースを参照

imporve the track controller #102

tags/2.14.0
Caven Chen 3年前
コミット
f419500175
1個のファイルの変更3行の追加1行の削除
  1. 3
    1
      modules/history-track/TrackController.js

+ 3
- 1
modules/history-track/TrackController.js ファイルの表示

@@ -212,7 +212,9 @@ class TrackController {
* @returns {TrackController}
*/
clear() {
this._cache = {}
Object.keys(this._cache).forEach(key => {
this.removeTrack(this._cache[key])
})
this._activedTrack && (this._activedTrack.viewed = false)
this._activedTrack = undefined
this._viewer.off(SceneEventType.POST_RENDER, this._onPostRender, this)

読み込み中…
キャンセル
保存