diff options
Diffstat (limited to 'js/panels/Timeline/Layer.reel')
-rw-r--r-- | js/panels/Timeline/Layer.reel/Layer.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/panels/Timeline/Layer.reel/Layer.js b/js/panels/Timeline/Layer.reel/Layer.js index 9cf321b1..c69f28b0 100644 --- a/js/panels/Timeline/Layer.reel/Layer.js +++ b/js/panels/Timeline/Layer.reel/Layer.js | |||
@@ -417,6 +417,9 @@ var Layer = exports.Layer = Montage.create(Component, { | |||
417 | 417 | ||
418 | setData:{ | 418 | setData:{ |
419 | value:function(){ | 419 | value:function(){ |
420 | if (typeof(this.layerData) === "undefined") { | ||
421 | return; | ||
422 | } | ||
420 | this.layerName = this.layerData.layerName; | 423 | this.layerName = this.layerData.layerName; |
421 | this.layerID = this.layerData.layerID; | 424 | this.layerID = this.layerData.layerID; |
422 | this.arrLayerStyles = this.layerData.arrLayerStyles; | 425 | this.arrLayerStyles = this.layerData.arrLayerStyles; |