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