aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Timeline/TimelinePanel.reel
diff options
context:
space:
mode:
authorKruti Shah2012-03-06 15:38:38 -0800
committerKruti Shah2012-03-06 15:38:38 -0800
commitc6c03fff50aaad7f7f8d02690f761358d3da9335 (patch)
tree2ba563f8ee424edc26c38ada779ab0042eb40b63 /js/panels/Timeline/TimelinePanel.reel
parentc0beb03439c3d29051eff4362257e83c1d97d9c9 (diff)
downloadninja-c6c03fff50aaad7f7f8d02690f761358d3da9335.tar.gz
Timeline: Storing Hashtable for element Mapping
Signed-off-by: Kruti Shah <kruti.shah@motorola.com>
Diffstat (limited to 'js/panels/Timeline/TimelinePanel.reel')
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
index 3c3e0651..c17a3290 100644
--- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
+++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
@@ -339,6 +339,7 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, {
339 this.application.ninja.currentDocument.tlArrLayers = this.arrLayers; 339 this.application.ninja.currentDocument.tlArrLayers = this.arrLayers;
340 this.application.ninja.currentDocument.tllayerNumber = this.currentLayerNumber; 340 this.application.ninja.currentDocument.tllayerNumber = this.currentLayerNumber;
341 this.application.ninja.currentDocument.tlLayerHashTable = this.hashInstance; 341 this.application.ninja.currentDocument.tlLayerHashTable = this.hashInstance;
342 this.application.ninja.currentDocument.tlElementHashTable = this.hashElementMapToLayer;
342 this.application.ninja.currentDocument.hashKey=this.hashKey; 343 this.application.ninja.currentDocument.hashKey=this.hashKey;
343 344
344 345
@@ -352,6 +353,7 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, {
352 this.arrTracks = this.application.ninja.currentDocument.tlArrTracks; 353 this.arrTracks = this.application.ninja.currentDocument.tlArrTracks;
353 this.currentLayerNumber = this.application.ninja.currentDocument.tllayerNumber; 354 this.currentLayerNumber = this.application.ninja.currentDocument.tllayerNumber;
354 this.hashInstance = this.application.ninja.currentDocument.tlLayerHashTable; 355 this.hashInstance = this.application.ninja.currentDocument.tlLayerHashTable;
356 this.hashElementMapToLayer = this.application.ninja.currentDocument.tlElementHashTable;
355 this.hashKey = this.application.ninja.currentDocument.hashKey; 357 this.hashKey = this.application.ninja.currentDocument.hashKey;
356 this.selectLayer(0); 358 this.selectLayer(0);
357 this._boolCacheArrays = true; 359 this._boolCacheArrays = true;