Skip to content

Commit b77c345

Browse files
committed
TweenManager.begin is now called.
1 parent 47d4dc4 commit b77c345

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

v3/src/state/Systems.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,7 @@ Systems.prototype = {
120120

121121
step: function (time, delta)
122122
{
123-
// Before or after child update?
124-
this.tweens.update(time, delta);
123+
this.tweens.begin(time);
125124

126125
var list = this.children.list;
127126

@@ -130,12 +129,16 @@ Systems.prototype = {
130129
list[i].preUpdate(time, delta);
131130
}
132131

132+
this.tweens.update(time, delta);
133+
133134
this.cameras.update(time, delta);
134135

135136
this.state.update.call(this.state, time, delta);
136137
},
137138

138139
// Called just once per frame, regardless of speed
140+
141+
/*
139142
begin: function (timestamp, frameDelta)
140143
{
141144
var list = this.children.list;
@@ -153,6 +156,7 @@ Systems.prototype = {
153156
154157
this.state.update.call(this.state, timestep, physicsStep);
155158
},
159+
*/
156160

157161
// Called just once per frame
158162
render: function (interpolation, renderer)

0 commit comments

Comments
 (0)