mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Added Logging
This commit is contained in:
parent
903762b122
commit
55e75298bd
1 changed files with 4 additions and 2 deletions
|
@ -58,12 +58,12 @@ var roundFloat = function (input, round) {
|
|||
|
||||
function HifiEntityUI(parent) {
|
||||
this.parent = parent;
|
||||
|
||||
console.log("Creating a new Entity UI instance!");
|
||||
var self = this;
|
||||
this.settingsUpdateLock = false;
|
||||
this.webBridgeSync = _.debounce(function (id, val) {
|
||||
console.log(id + " " + val + " " + self.webBridgeSync);
|
||||
if (self.EventBridge && !self.settingsUpdateLock) {
|
||||
console.log(id + " " + val + " " + self.webBridgeSync);
|
||||
var sendPackage = {};
|
||||
sendPackage[id] = val;
|
||||
self.submitChanges(sendPackage);
|
||||
|
@ -276,6 +276,7 @@ HifiEntityUI.prototype = {
|
|||
if (!currentProperties.colorFinish || !currentProperties.colorFinish.red) {
|
||||
currentProperties.colorFinish = currentProperties.color;
|
||||
}
|
||||
console.log("Got ScriptEvent particle_settings", data);
|
||||
self.fillFields(currentProperties);
|
||||
// Do expected property match with structure;
|
||||
} else if (data.messageType === 'particle_close') {
|
||||
|
@ -284,6 +285,7 @@ HifiEntityUI.prototype = {
|
|||
});
|
||||
},
|
||||
build: function () {
|
||||
console.log("Building UI Anew");
|
||||
var self = this;
|
||||
var sections = Object.keys(this.structure);
|
||||
this.builtRows = {};
|
||||
|
|
Loading…
Reference in a new issue