teleportxr 1.0.45 → 1.0.47
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.
- package/client/client.js +4 -1
- package/client/client_manager.js +1 -1
- package/package.json +1 -1
package/client/client.js
CHANGED
|
@@ -127,7 +127,10 @@ class Client {
|
|
|
127
127
|
this.clientDynamicLighting=new core.ClientDynamicLighting();
|
|
128
128
|
// Session is (re)starting; the client has zero state, so retract any
|
|
129
129
|
// outstanding ack tracking from a previous session and force a resend.
|
|
130
|
-
|
|
130
|
+
// Clear acknowledgement state but preserve the origin uid that was already set.
|
|
131
|
+
this.currentOriginState.acknowledged = false;
|
|
132
|
+
this.currentOriginState.serverTimeSentUs = BigInt(0);
|
|
133
|
+
this.currentOriginState.ackId = 0;
|
|
131
134
|
this.currentLightingState = new LightingState();
|
|
132
135
|
this.setupCommand.float32_draw_distance=10.0;
|
|
133
136
|
if(this.scene)
|
package/client/client_manager.js
CHANGED
package/package.json
CHANGED