Skip to content

Commit

Permalink
Fixed a small issue with pov updates raised in issue #41.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Manson authored and Rob Manson committed Jul 12, 2017
1 parent 2d20bd5 commit 17a0833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/awe-standard.js
Original file line number Diff line number Diff line change
Expand Up @@ -1631,7 +1631,7 @@
if (item.data.animation && item.data.animation.step_callback) {
users_step_callback = item.data.animation.step_callback;
item.data.animation.step_callback = function(io) {
this_awe.util.audio_context.listener.setPosition(io.mesh.position.x, io.mesh.position.y, io.mesh.position.z);
this_awe.util.audio_context.listener.setPosition(io.object.position.x, io.object.position.y, io.object.position.z);
return users_step_callback(io);
}
}
Expand Down

0 comments on commit 17a0833

Please sign in to comment.