Преглед на файлове

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)

Loading…
Отказ
Запис