diff options
author | Jonathan Duran | 2012-05-04 21:46:29 -0700 |
---|---|---|
committer | Jonathan Duran | 2012-05-04 21:46:29 -0700 |
commit | eaef072648eb539e648aabf7bc1aea8d02c21085 (patch) | |
tree | 0474ea8c48d8624a0c82bd08f9ed7de63b48b50c /js/panels/Timeline/Layer.reel/Layer.js | |
parent | 0e12f00d6afffabd370347335a56d0ddd17c0232 (diff) | |
download | ninja-eaef072648eb539e648aabf7bc1aea8d02c21085.tar.gz |
property track additions to serialization data object
Signed-off-by: Jonathan Duran <jduran@motorola.com>
Diffstat (limited to 'js/panels/Timeline/Layer.reel/Layer.js')
-rw-r--r-- | js/panels/Timeline/Layer.reel/Layer.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/js/panels/Timeline/Layer.reel/Layer.js b/js/panels/Timeline/Layer.reel/Layer.js index b23da749..ef51886e 100644 --- a/js/panels/Timeline/Layer.reel/Layer.js +++ b/js/panels/Timeline/Layer.reel/Layer.js | |||
@@ -606,6 +606,7 @@ var Layer = exports.Layer = Montage.create(Component, { | |||
606 | newEvent.layerEventLocale = "styles"; | 606 | newEvent.layerEventLocale = "styles"; |
607 | newEvent.layerEventType = "newStyle"; | 607 | newEvent.layerEventType = "newStyle"; |
608 | newEvent.layerID = this.layerID; | 608 | newEvent.layerID = this.layerID; |
609 | newEvent.styleIndex = this._styleCounter; | ||
609 | newEvent.styleID = this.layerID + "@" + this._styleCounter; | 610 | newEvent.styleID = this.layerID + "@" + this._styleCounter; |
610 | 611 | ||
611 | newStyle.styleID = newEvent.styleID; | 612 | newStyle.styleID = newEvent.styleID; |
@@ -629,7 +630,7 @@ var Layer = exports.Layer = Montage.create(Component, { | |||
629 | } | 630 | } |
630 | 631 | ||
631 | // Set up the event info and dispatch the event | 632 | // Set up the event info and dispatch the event |
632 | 633 | this._styleCounter += 1; | |
633 | newEvent.styleSelection = mySelection; | 634 | newEvent.styleSelection = mySelection; |
634 | defaultEventManager.dispatchEvent(newEvent); | 635 | defaultEventManager.dispatchEvent(newEvent); |
635 | 636 | ||