teleportxr 1.0.77 → 1.0.78

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -255,7 +255,12 @@ class GeometryService {
255
255
  }
256
256
 
257
257
  var node = this.scene.GetNode(node_uid);
258
- console.log("Adding node ", node.name, " for client ", this.clientID);
258
+ if(diff>0 && !already_present)
259
+ console.log("Adding node ", node.name, " for client ", this.clientID);
260
+ else if(diff<0 && already_present)
261
+ console.log("Removing node ", node.name, " for client ", this.clientID);
262
+ else
263
+ console.log("Changing node ", node.name, " count from ", old_count, " to ", old_count+diff, " for client ", this.clientID);
259
264
  this.streamedNodes.set(node_uid, old_count + diff);
260
265
  var meshResources = [];
261
266
  node.components.forEach((component) => {
package/package.json CHANGED
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "name": "teleportxr",
18
18
  "description": "Teleport Spatial Server on node.js",
19
- "version": "1.0.77",
19
+ "version": "1.0.78",
20
20
  "repository": {
21
21
  "type": "git",
22
22
  "url": "git+https://github.com/simul/teleport-nodejs.git"