diff options
author | Jon Reid | 2012-05-15 11:24:53 -0700 |
---|---|---|
committer | Jon Reid | 2012-05-15 11:24:53 -0700 |
commit | 3e02135df2ee028ae43d0e2456c04e24ecee0e86 (patch) | |
tree | d6dcab6756e3da0038a39527cfe0f9ca89e92310 /js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js | |
parent | 53a604d0ccb1315576b94406cf3b0b958162307b (diff) | |
parent | e33a4e58c271a9507082694a5268b840fdd05968 (diff) | |
download | ninja-3e02135df2ee028ae43d0e2456c04e24ecee0e86.tar.gz |
Merge branch 'timeline-local' into timeline-multiselect
Conflicts:
js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
resolved using theirs. (selectLayers)
Diffstat (limited to 'js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js')
-rw-r--r-- | js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js | 350 |
1 files changed, 288 insertions, 62 deletions
diff --git a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js index e46a5eb0..8693e828 100644 --- a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js +++ b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js | |||
@@ -16,7 +16,6 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, { | |||
16 | }, | 16 | }, |
17 | 17 | ||
18 | _trackID:{ | 18 | _trackID:{ |
19 | serializable:true, | ||
20 | value:null | 19 | value:null |
21 | }, | 20 | }, |
22 | 21 | ||
@@ -32,6 +31,11 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, { | |||
32 | } | 31 | } |
33 | } | 32 | } |
34 | }, | 33 | }, |
34 | |||
35 | _isFirstDraw: { | ||
36 | value: true | ||
37 | }, | ||
38 | |||
35 | _isVisible:{ | 39 | _isVisible:{ |
36 | value: true | 40 | value: true |
37 | }, | 41 | }, |
@@ -105,7 +109,6 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, { | |||
105 | } | 109 | } |
106 | }, | 110 | }, |
107 | _bypassAnimation : { | 111 | _bypassAnimation : { |
108 | serializable: true, | ||
109 | value: false | 112 | value: false |
110 | }, | 113 | }, |
111 | bypassAnimation : { | 114 | bypassAnimation : { |
@@ -122,13 +125,10 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, { | |||
122 | }, | 125 | }, |
123 | 126 | ||
124 | _arrStyleTracks : { | 127 | _arrStyleTracks : { |
125 | serializable:true, | ||
126 | enumerable:true, | ||
127 | value: [] | 128 | value: [] |
128 | }, | 129 | }, |
129 | arrStyleTracks: { | 130 | arrStyleTracks: { |
130 | serializable:true, | 131 | serializable:true, |
131 | enumerable:true, | ||
132 | get: function() { | 132 | get: function() { |
133 | return this._arrStyleTracks; | 133 | return this._arrStyleTracks; |
134 | }, | 134 | }, |
@@ -138,11 +138,10 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, { | |||
138 | } | 138 | } |
139 | }, | 139 | }, |
140 | _styleTracksRepetition: { | 140 | _styleTracksRepetition: { |
141 | serializable: true, | ||
142 | value: null | 141 | value: null |
143 | }, | 142 | }, |
144 | styleTracksRepetition : { | 143 | styleTracksRepetition : { |
145 | serializable: true, | 144 | serializable:true, |
146 | get: function() { | 145 | get: function() { |
147 | return this._styleTracksRepetition; | 146 | return this._styleTracksRepetition; |
148 | }, | 147 | }, |
@@ -153,13 +152,10 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, { | |||
153 | 152 | ||
154 | /* Position Property Tracks */ | 153 | /* Position Property Tracks */ |
155 | _arrPositionTracks : { | 154 | _arrPositionTracks : { |
156 | serializable:true, | ||
157 | enumerable:true, | ||
158 | value: [] | 155 | value: [] |
159 | }, | 156 | }, |
160 | arrPositionTracks: { | 157 | arrPositionTracks: { |
161 | serializable:true, | 158 | serializable:true, |
162 | enumerable:true, | ||
163 | get: function() { | 159 | get: function() { |
164 | return this._arrPositionTracks; | 160 | return this._arrPositionTracks; |
165 | }, | 161 | }, |
@@ -169,11 +165,9 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, { | |||
169 | } | 165 | } |
170 | }, | 166 | }, |
171 | _positionTracksRepetition: { | 167 | _positionTracksRepetition: { |
172 | serializable: true, | ||
173 | value: null | 168 | value: null |
174 | }, | 169 | }, |
175 | positionTracksRepetition : { | 170 | positionTracksRepetition : { |
176 | serializable: true, | ||
177 | get: function() { | 171 | get: function() { |
178 | return this._positionTracksRepetition; | 172 | return this._positionTracksRepetition; |
179 | }, | 173 | }, |
@@ -185,13 +179,10 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, { | |||
185 | 179 | ||
186 | /* Transform Property Tracks */ | 180 | /* Transform Property Tracks */ |
187 | _arrTransformTracks : { | 181 | _arrTransformTracks : { |
188 | serializable:true, | ||
189 | enumerable:true, | ||
190 | value: [] | 182 | value: [] |
191 | }, | 183 | }, |
192 | arrTransformTracks: { | 184 | arrTransformTracks: { |
193 | serializable:true, | 185 | serializable:true, |
194 | enumerable:true, | ||
195 | get: function() { | 186 | get: function() { |
196 | return this._arrTransformTracks; | 187 | return this._arrTransformTracks; |
197 | }, | 188 | }, |
@@ -200,27 +191,13 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, { | |||
200 | this.trackData.arrTransformTracks = newVal; | 191 | this.trackData.arrTransformTracks = newVal; |
201 | } | 192 | } |
202 | }, | 193 | }, |
203 | _transformTracksRepetition: { | ||
204 | serializable: true, | ||
205 | value: null | ||
206 | }, | ||
207 | transformTracksRepetition : { | ||
208 | serializable: true, | ||
209 | get: function() { | ||
210 | return this._transformTracksRepetition; | ||
211 | }, | ||
212 | set: function(newVal) { | ||
213 | this._transformTracksRepetition = newVal; | ||
214 | } | ||
215 | }, | ||
216 | 194 | ||
217 | _tweens:{ | 195 | _tweens:{ |
218 | enumerable: false, | ||
219 | value:[] | 196 | value:[] |
220 | }, | 197 | }, |
221 | 198 | ||
222 | tweens:{ | 199 | tweens:{ |
223 | serializable:true, | 200 | serializable: true, |
224 | get:function () { | 201 | get:function () { |
225 | return this._tweens; | 202 | return this._tweens; |
226 | }, | 203 | }, |
@@ -231,22 +208,19 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, { | |||
231 | }, | 208 | }, |
232 | 209 | ||
233 | _tweenRepetition:{ | 210 | _tweenRepetition:{ |
234 | serializable:true, | ||
235 | value:null | 211 | value:null |
236 | }, | 212 | }, |
237 | 213 | ||
238 | tweenRepetition:{ | 214 | tweenRepetition:{ |
239 | serializable:true, | ||
240 | get:function () { | 215 | get:function () { |
241 | return this._spanRepetition; | 216 | return this._tweenRepetition; |
242 | }, | 217 | }, |
243 | set:function (newVal) { | 218 | set:function (newVal) { |
244 | this._spanRepetition = newVal; | 219 | this._tweenRepetition = newVal; |
245 | } | 220 | } |
246 | }, | 221 | }, |
247 | 222 | ||
248 | _trackDuration:{ | 223 | _trackDuration:{ |
249 | serializable: true, | ||
250 | value:0 | 224 | value:0 |
251 | }, | 225 | }, |
252 | 226 | ||
@@ -265,7 +239,6 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, { | |||
265 | }, | 239 | }, |
266 | 240 | ||
267 | _trackPosition:{ | 241 | _trackPosition:{ |
268 | serializable:true, | ||
269 | value:0 | 242 | value:0 |
270 | }, | 243 | }, |
271 | 244 | ||
@@ -281,7 +254,6 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, { | |||
281 | }, | 254 | }, |
282 | 255 | ||
283 | _currentKeyframeRule:{ | 256 | _currentKeyframeRule:{ |
284 | serializable: true, | ||
285 | value:null | 257 | value:null |
286 | }, | 258 | }, |
287 | 259 | ||
@@ -305,7 +277,6 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, { | |||
305 | }, | 277 | }, |
306 | 278 | ||
307 | _isTrack |