From 983df3d71efd1f809184814b520a8155cd0c9b6e Mon Sep 17 00:00:00 2001 From: Jonathan Duran Date: Thu, 26 Apr 2012 15:06:04 -0700 Subject: Fix WEbGL not rendering on stage with timeline Signed-off-by: Jonathan Duran --- js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js index 22938407..70e04b4c 100644 --- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js +++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js @@ -956,13 +956,14 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, { // Possibly currentLayerNumber doesn't correctly reflect the // number of layers. Check that. - for(k = 0; k < arrLayersLength; k++){ + // Commented out to fix WebGL rendering bug + /*for(k = 0; k < arrLayersLength; k++){ if(this.arrLayers[k].layerData.layerName === newLayerName){ this.currentLayerNumber = this.currentLayerNumber + 1; newLayerName = "Layer " + this.currentLayerNumber; break; } - } + }*/ // We will no longer have multiple things selected, so wipe that info out // if it isn't already gone. this.currentLayersSelected = false; -- cgit v1.2.3