Skip to content

Commit df31f9c

Browse files
authored
Upgrade three.js to v0.163.0 (#180)
Also upgrade from wwobjloader2 6.2.0 to 6.2.1.
1 parent 601b55d commit df31f9c

File tree

6 files changed

+160
-156
lines changed

6 files changed

+160
-156
lines changed

dist/main.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/main.min.js.THIRD_PARTY_LICENSES.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@
2828
},
2929
{
3030
"name": "three",
31-
"version": "0.160.1",
31+
"version": "0.163.0",
3232
"author": "mrdoob",
3333
"repository": "https://github.com/mrdoob/three.js",
34-
"source": "https://registry.npmjs.org/three/-/three-0.160.1.tgz",
34+
"source": "https://registry.npmjs.org/three/-/three-0.163.0.tgz",
3535
"license": "MIT",
36-
"licenseText": "The MIT License\n\nCopyright © 2010-2023 three.js authors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n"
36+
"licenseText": "The MIT License\n\nCopyright © 2010-2024 three.js authors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n"
3737
},
3838
{
3939
"name": "wtd-core",
@@ -55,10 +55,10 @@
5555
},
5656
{
5757
"name": "wwobjloader2",
58-
"version": "6.2.0",
58+
"version": "6.2.1",
5959
"author": "kaisalmen (https://www.kaisalmen.de)",
6060
"repository": "https://github.com/kaisalmen/WWOBJLoader",
61-
"source": "https://registry.npmjs.org/wwobjloader2/-/wwobjloader2-6.2.0.tgz",
61+
"source": "https://registry.npmjs.org/wwobjloader2/-/wwobjloader2-6.2.1.tgz",
6262
"license": "MIT",
6363
"licenseText": "MIT License\n\nCopyright (c) 2016-2022 Kai Salmen\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n"
6464
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
"@msgpack/msgpack": "^2.8.0",
1515
"ccapture.js": "aceslowman/ccapture.js#npm-fix",
1616
"dat.gui": "^0.7.9",
17-
"three": "^0.160.1",
17+
"three": "^0.163.0",
1818
"three-wtm": "^1.0",
19-
"wwobjloader2": "^6.2.0",
19+
"wwobjloader2": "^6.2.1",
2020
"yarn": "^1.22.21"
2121
},
2222
"scripts": {

src/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1389,7 +1389,6 @@ class Viewer {
13891389
this.camera = obj;
13901390
this.controls = new OrbitControls(obj, this.dom_element);
13911391
this.controls.enableKeys = false;
1392-
this.controls.screenSpacePanning = true; // see https://github.com/rdeits/MeshCat.jl/issues/132
13931392
this.controls.addEventListener('start', () => {
13941393
this.set_dirty()
13951394
});

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module.exports = [{
3030
new LicensePlugin({
3131
outputFilename: "main.min.js.THIRD_PARTY_LICENSES.json",
3232
licenseOverrides: {
33-
'[email protected].0': 'MIT',
33+
'[email protected].1': 'MIT',
3434
}
3535
})
3636
],

0 commit comments

Comments
 (0)