diff options
Diffstat (limited to 'js/panels/Timeline')
-rw-r--r-- | js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js | 98 |
1 files changed, 94 insertions, 4 deletions
diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js index f7ab5117..658ac043 100644 --- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js +++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js | |||
@@ -10,10 +10,98 @@ var nj = require("js/lib/NJUtils").NJUtils; | |||
10 | 10 | ||
11 | var TimelinePanel = exports.TimelinePanel = Montage.create(Component, { | 11 | var TimelinePanel = exports.TimelinePanel = Montage.create(Component, { |
12 | 12 | ||
13 | hasTemplate:{ | 13 | user_layers: { |
14 | value:true | 14 | value: null, |
15 | serializable: true | ||
16 | }, | ||
17 | |||
18 | track_container: { | ||
19 | value: null, | ||
20 | serializable: true | ||
21 | }, | ||
22 | |||
23 | timeline_leftpane: { | ||
24 | value: null, | ||
25 | serializable: true | ||
26 | }, | ||
27 | |||
28 | layer_tracks: { | ||
29 | value: null, | ||
30 | serializable: true | ||
31 | }, | ||
32 | |||
33 | master_track: { | ||
34 | value: null, | ||
35 | serializable: true | ||
36 | }, | ||
37 | |||
38 | time_markers: { | ||
39 | value: null, | ||
40 | serializable: true | ||
41 | }, | ||
42 | |||
43 | playhead: { | ||
44 | value: null, | ||
45 | serializable: true | ||
46 | }, | ||
47 | |||
48 | playheadmarker: { | ||
49 | value: null, | ||
50 | serializable: true | ||
51 | }, | ||
52 | |||
53 | timetext: { | ||
54 | value: null, | ||
55 | serializable: true | ||
56 | }, | ||
57 | |||
58 | timebar: { | ||
59 | value: null, | ||
60 | serializable: true | ||
61 | }, | ||
62 | |||
63 | container_tracks: { | ||
64 | value: null, | ||
65 | serializable: true | ||
15 | }, | 66 | }, |
16 | 67 | ||
68 | end_hottext: { | ||
69 | value: null, | ||
70 | serializable: true | ||
71 | }, | ||
72 | |||
73 | container_layers: { | ||
74 | value: null, | ||
75 | serializable: true | ||
76 | }, | ||
77 | |||
78 | timeline_disabler: { | ||
79 | value: null, | ||
80 | serializable: true | ||
81 | }, | ||
82 | |||
83 | checkable_relative: { | ||
84 | value: null, | ||
85 | serializable: true | ||
86 | }, | ||
87 | |||
88 | checkable_absolute: { | ||
89 | value: null, | ||
90 | serializable: true | ||
91 | }, | ||
92 | |||
93 | checkable_animated: { | ||
94 | value: null, | ||
95 | serializable: true | ||
96 | }, | ||
97 | |||
98 | tl_configbutton: { | ||
99 | value: null, | ||
100 | serializable: true | ||
101 | }, | ||
102 | |||
103 | |||
104 | |||
17 | /* === BEGIN: Models === */ | 105 | /* === BEGIN: Models === */ |
18 | _currentDocument: { | 106 | _currentDocument: { |
19 | value : null | 107 | value : null |
@@ -133,7 +221,8 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, { | |||
133 | }, | 221 | }, |
134 | set:function (newVal) { | 222 | set:function (newVal) { |
135 | this._layerRepetition = newVal; | 223 | this._layerRepetition = newVal; |
136 | } | 224 | }, |
225 | serializable: true | ||
137 | }, | 226 | }, |
138 | 227 | ||
139 | // Set to false to skip array caching array sets in current document | 228 | // Set to false to skip array caching array sets in current document |
@@ -257,7 +346,8 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, { | |||
257 | }, | 346 | }, |
258 | set:function (newVal) { | 347 | set:function (newVal) { |
259 | this._trackRepetition = newVal; | 348 | this._trackRepetition = newVal; |
260 | } | 349 | }, |
350 | serializable: true | ||
261 | }, | 351 | }, |
262 | 352 | ||
263 | _selectedKeyframes:{ | 353 | _selectedKeyframes:{ |