aboutsummaryrefslogtreecommitdiff
path: root/js/panels
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels')
-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;