aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Timeline/TimelinePanel.reel
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/Timeline/TimelinePanel.reel')
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js9
1 files changed, 4 insertions, 5 deletions
diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
index bb3ff170..3d109bc1 100644
--- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
+++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
@@ -933,12 +933,11 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, {
933 933
934 // We're reading from the cache, not writing to it. 934 // We're reading from the cache, not writing to it.
935 this._boolCacheArrays = false; 935 this._boolCacheArrays = false;
936
937 // We are about to redraw the layers and tracks for the first time, so they need to go through their
938 // respective firstDraw routines.
936 for (i = 0; i < tlArrLayersLength; i++) { 939 for (i = 0; i < tlArrLayersLength; i++) {
937 if (this.application.ninja.currentDocument.tlArrLayers[i].layerData.isSelected === true) { 940 this.application.ninja.currentDocument.tlArrLayers[i].layerData._isFirstDraw = true;
938 this.application.ninja.currentDocument.tlArrLayers[i].layerData._isFirstDraw = true;
939 } else {
940 this.application.ninja.currentDocument.tlArrLayers[i].layerData._isFirstDraw = false;
941 }
942 } 941 }
943 this.arrLayers = this.application.ninja.currentDocument.tlArrLayers; 942 this.arrLayers = this.application.ninja.currentDocument.tlArrLayers;
944 this.currentLayerNumber = this.application.ninja.currentDocument.tllayerNumber; 943 this.currentLayerNumber = this.application.ninja.currentDocument.tllayerNumber;