aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorJonathan Duran2012-04-26 15:06:04 -0700
committerJonathan Duran2012-04-26 15:06:04 -0700
commit983df3d71efd1f809184814b520a8155cd0c9b6e (patch)
tree69b8a8d4e2c4fab3e9148618c857d71b7c2cc9e3 /js
parente46547fe0a2d0c24c7b929588dbf0b66f9fe6533 (diff)
downloadninja-983df3d71efd1f809184814b520a8155cd0c9b6e.tar.gz
Fix WEbGL not rendering on stage with timeline
Signed-off-by: Jonathan Duran <jduran@motorola.com>
Diffstat (limited to 'js')
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js5
1 files 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, {
956 956
957 // Possibly currentLayerNumber doesn't correctly reflect the 957 // Possibly currentLayerNumber doesn't correctly reflect the
958 // number of layers. Check that. 958 // number of layers. Check that.
959 for(k = 0; k < arrLayersLength; k++){ 959 // Commented out to fix WebGL rendering bug
960 /*for(k = 0; k < arrLayersLength; k++){
960 if(this.arrLayers[k].layerData.layerName === newLayerName){ 961 if(this.arrLayers[k].layerData.layerName === newLayerName){
961 this.currentLayerNumber = this.currentLayerNumber + 1; 962 this.currentLayerNumber = this.currentLayerNumber + 1;
962 newLayerName = "Layer " + this.currentLayerNumber; 963 newLayerName = "Layer " + this.currentLayerNumber;
963 break; 964 break;
964 } 965 }
965 } 966 }*/
966 // We will no longer have multiple things selected, so wipe that info out 967 // We will no longer have multiple things selected, so wipe that info out
967 // if it isn't already gone. 968 // if it isn't already gone.
968 this.currentLayersSelected = false; 969 this.currentLayersSelected = false;