@playcanvas/supersplat-viewer 1.36.1 → 1.36.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/dist/viewer.js +1 -1
- package/package.json +2 -2
- package/public/index.js +8 -4
- package/public/index.js.map +1 -1
package/dist/viewer.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@playcanvas/supersplat-viewer",
|
|
3
|
-
"version": "1.36.
|
|
3
|
+
"version": "1.36.2",
|
|
4
4
|
"author": "PlayCanvas <support@playcanvas.com>",
|
|
5
5
|
"homepage": "https://github.com/playcanvas/supersplat-viewer#readme",
|
|
6
6
|
"description": "Viewer for https://superspl.at",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"concurrently": "9.2.4",
|
|
68
68
|
"eslint": "9.39.5",
|
|
69
69
|
"globals": "17.12.0",
|
|
70
|
-
"playcanvas": "2.22.
|
|
70
|
+
"playcanvas": "2.22.6",
|
|
71
71
|
"postcss": "8.5.28",
|
|
72
72
|
"prettier": "3.9.9",
|
|
73
73
|
"publint": "0.3.24",
|
package/public/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const TRACEID_GPU_TIMINGS = "GpuTimings";
|
|
2
2
|
|
|
3
|
-
const version$1 = "2.22.
|
|
4
|
-
const revision = "
|
|
3
|
+
const version$1 = "2.22.6";
|
|
4
|
+
const revision = "dfcc50f";
|
|
5
5
|
function extend(target, ex) {
|
|
6
6
|
for (const prop in ex) {
|
|
7
7
|
const copy = ex[prop];
|
|
@@ -26507,12 +26507,16 @@ class Layer {
|
|
|
26507
26507
|
addMeshInstances(meshInstances, skipShadowCasters) {
|
|
26508
26508
|
const destMeshInstances = this.meshInstances;
|
|
26509
26509
|
const destMeshInstancesSet = this.meshInstancesSet;
|
|
26510
|
+
_tempMaterials.clear();
|
|
26510
26511
|
for (let i = 0; i < meshInstances.length; i++) {
|
|
26511
26512
|
const mi = meshInstances[i];
|
|
26512
26513
|
if (!destMeshInstancesSet.has(mi)) {
|
|
26513
26514
|
destMeshInstances.push(mi);
|
|
26514
26515
|
destMeshInstancesSet.add(mi);
|
|
26515
|
-
|
|
26516
|
+
const mat = mi.material;
|
|
26517
|
+
if (mat) {
|
|
26518
|
+
_tempMaterials.add(mat);
|
|
26519
|
+
}
|
|
26516
26520
|
}
|
|
26517
26521
|
}
|
|
26518
26522
|
if (!skipShadowCasters) {
|
|
@@ -83843,7 +83847,7 @@ const importSettings = (settings) => {
|
|
|
83843
83847
|
return result;
|
|
83844
83848
|
};
|
|
83845
83849
|
|
|
83846
|
-
var version = "1.36.
|
|
83850
|
+
var version = "1.36.2";
|
|
83847
83851
|
|
|
83848
83852
|
class Tooltip {
|
|
83849
83853
|
register;
|