@playcanvas/supersplat-viewer 1.13.1 → 1.13.2
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/dist/index.js +1 -1
- package/package.json +1 -1
- package/public/index.js +3 -3
- package/public/index.js.map +1 -1
package/package.json
CHANGED
package/public/index.js
CHANGED
|
@@ -103870,7 +103870,8 @@ class CameraManager {
|
|
|
103870
103870
|
});
|
|
103871
103871
|
// handle camera mode switching
|
|
103872
103872
|
events.on('cameraMode:changed', (value, prev) => {
|
|
103873
|
-
//
|
|
103873
|
+
// snapshot the current pose before any controller mutation
|
|
103874
|
+
startTransition();
|
|
103874
103875
|
target.copy(this.camera);
|
|
103875
103876
|
fromMode = prev;
|
|
103876
103877
|
// exit the old controller
|
|
@@ -103879,7 +103880,6 @@ class CameraManager {
|
|
|
103879
103880
|
// enter new controller
|
|
103880
103881
|
const newController = getController(value);
|
|
103881
103882
|
newController.onEnter(this.camera);
|
|
103882
|
-
startTransition();
|
|
103883
103883
|
});
|
|
103884
103884
|
// handle user scrubbing the animation timeline
|
|
103885
103885
|
events.on('scrubAnim', (time) => {
|
|
@@ -105547,7 +105547,7 @@ const initXr = (global) => {
|
|
|
105547
105547
|
});
|
|
105548
105548
|
};
|
|
105549
105549
|
|
|
105550
|
-
var version = "1.13.
|
|
105550
|
+
var version = "1.13.2";
|
|
105551
105551
|
|
|
105552
105552
|
const loadGsplat = async (app, config, progressCallback) => {
|
|
105553
105553
|
const { contents, contentUrl, unified, aa } = config;
|