Skip to content

Commit 8dd7aa3

Browse files
committed
Moved StateManager update call
1 parent 2340a32 commit 8dd7aa3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

v3/src/state/Systems.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ Systems.prototype = {
105105

106106
step: function (time, delta)
107107
{
108+
// Are there any pending StateManager actions?
109+
this.stateManager.update();
110+
108111
if (!this.settings.active)
109112
{
110113
return;
@@ -146,9 +149,6 @@ Systems.prototype = {
146149
}
147150

148151
this.cameras.render(renderer, this.children, interpolation);
149-
150-
// After everything has rendered are there any pending StateManager actions?
151-
this.stateManager.update();
152152
},
153153

154154
sortZ: function (childA, childB)

0 commit comments

Comments
 (0)