From 3cd248cdeca58effab83373edcb64aa2dac4c9b4 Mon Sep 17 00:00:00 2001 From: Jon Reid Date: Thu, 26 Apr 2012 13:32:09 -0700 Subject: Timeline: comment out a conditional debugger; re-enable layer name storage. --- js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'js/panels') diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js index 51d854f9..7d5b44a8 100644 --- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js +++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js @@ -812,9 +812,6 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, { if (this.application.ninja.selectedElements[0]) { checkIndex = this.application.ninja.selectedElements[0].uuid; for (i = 0; i < arrLayersLength; i++) { - if (typeof(this.arrLayers[i].layerData.elementsList[0]) === "undefined") { - debugger; - } var currIndex = this.arrLayers[i].layerData.elementsList[0].uuid, layerID = this.arrLayers[i].layerData.layerID, layerIndex = 0; @@ -1111,7 +1108,7 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, { this.currentLayerSelected.layerData.elementsList = []; } this.currentLayerSelected.layerData.elementsList.push(this.application.ninja.selectedElements[0]); - //this.currentLayerSelected.layerData.elementsList[0].dataset.storedLayerName = this.currentLayerSelected.layerData.layerName; + this.currentLayerSelected.layerData.elementsList[0].dataset.storedLayerName = this.currentLayerSelected.layerData.layerName; } }, -- cgit v1.2.3