@combeenation/3d-viewer 5.1.0-rc4 → 5.1.1
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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@combeenation/3d-viewer",
|
|
3
3
|
"description": "Combeenation 3D Viewer",
|
|
4
|
-
"version": "5.1.
|
|
4
|
+
"version": "5.1.1",
|
|
5
5
|
"homepage": "https://github.com/Combeenation/3d-viewer#readme",
|
|
6
6
|
"keywords": [],
|
|
7
7
|
"author": "",
|
|
@@ -39,7 +39,8 @@
|
|
|
39
39
|
"pub-alpha": "npm run dist-cjs && npm publish --tag alpha",
|
|
40
40
|
"pub-beta": "npm run dist-cjs && npm publish --tag beta",
|
|
41
41
|
"pub-rc": "npm run dist-cjs && npm publish --tag rc",
|
|
42
|
-
"pack": "npm run dist-cjs && npm pack
|
|
42
|
+
"pack": "npm run dist-cjs && npm pack",
|
|
43
|
+
"pack-to-cjs": "npm run dist-cjs && npm pack --pack-destination=\"/mnt/c/Data/dev/custom-js/MichaelTest/PbrAssetTest\"",
|
|
43
44
|
"format": "prettier --write ."
|
|
44
45
|
},
|
|
45
46
|
"dependencies": {
|
|
@@ -404,7 +404,7 @@ export class Viewer extends EventBroadcaster {
|
|
|
404
404
|
if (envHelper?.rootMesh) {
|
|
405
405
|
exclude = [...exclude, envHelper.rootMesh];
|
|
406
406
|
}
|
|
407
|
-
|
|
407
|
+
|
|
408
408
|
// get bounding box of all visible meshes, this is the base for the autofocus algorithm
|
|
409
409
|
const boundingBox = await this.calculateBoundingBox(exclude);
|
|
410
410
|
|