mirror of
https://github.com/lubosz/overte.git
synced 2025-04-25 00:03:16 +02:00
Don't modify function parameter
This commit is contained in:
parent
8c9bdf51a7
commit
3c5a779a98
1 changed files with 2 additions and 2 deletions
|
@ -45,8 +45,8 @@ ParticleExplorerTool = function() {
|
|||
}));
|
||||
}
|
||||
|
||||
that.webEventReceived = function(data) {
|
||||
data = JSON.parse(data);
|
||||
that.webEventReceived = function(message) {
|
||||
var data = JSON.parse(message);
|
||||
if (data.messageType === "settings_update") {
|
||||
if (data.updatedSettings.emitOrientation) {
|
||||
data.updatedSettings.emitOrientation = Quat.fromVec3Degrees(data.updatedSettings.emitOrientation);
|
||||
|
|
Loading…
Reference in a new issue