diff options
Diffstat (limited to 'js/panels/Timeline/Layer.reel/Layer.js')
-rw-r--r-- | js/panels/Timeline/Layer.reel/Layer.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/panels/Timeline/Layer.reel/Layer.js b/js/panels/Timeline/Layer.reel/Layer.js index c69f28b0..f1882985 100644 --- a/js/panels/Timeline/Layer.reel/Layer.js +++ b/js/panels/Timeline/Layer.reel/Layer.js | |||
@@ -385,7 +385,7 @@ var Layer = exports.Layer = Montage.create(Component, { | |||
385 | return this._bypassAnimation; | 385 | return this._bypassAnimation; |
386 | }, | 386 | }, |
387 | set: function(newVal) { | 387 | set: function(newVal) { |
388 | if (newVal !== this._bypassAnimation) { | 388 | if ((newVal !== this._bypassAnimation) && (typeof(this.layerData) !== "undefined")) { |
389 | this._bypassAnimation = newVal; | 389 | this._bypassAnimation = newVal; |
390 | this.layerData.bypassAnimation = newVal; | 390 | this.layerData.bypassAnimation = newVal; |
391 | } | 391 | } |