Update libraries.
This commit is contained in:
parent
f96f09502e
commit
67ee073dfd
8727
libs/loaders/rhino3dm.min.js
vendored
8727
libs/loaders/rhino3dm.min.js
vendored
File diff suppressed because one or more lines are too long
Binary file not shown.
643
package-lock.json
generated
643
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -76,10 +76,10 @@
|
||||
"dependencies": {
|
||||
"@simonwep/pickr": "1.8.2",
|
||||
"draco3d": "1.5.6",
|
||||
"fflate": "0.7.4",
|
||||
"fflate": "0.8.0",
|
||||
"occt-import-js": "0.0.18",
|
||||
"rhino3dm": "8.0.0",
|
||||
"three": "0.152.2",
|
||||
"rhino3dm": "7.15.0",
|
||||
"three": "0.153.0",
|
||||
"web-ifc": "0.0.39"
|
||||
},
|
||||
"eslintConfig": {
|
||||
|
||||
@ -340,6 +340,7 @@ export class ImporterThreeWrl extends ImporterThreeBase
|
||||
constructor ()
|
||||
{
|
||||
super ();
|
||||
this.colorConverter = new ThreeLinearToSRGBColorConverter ();
|
||||
}
|
||||
|
||||
CanImportExtension (extension)
|
||||
|
||||
@ -87,7 +87,8 @@ export class ShadingModel
|
||||
SetEnvironmentMapSettings (environmentSettings, onLoaded)
|
||||
{
|
||||
let loader = new THREE.CubeTextureLoader ();
|
||||
this.environment = loader.load (environmentSettings.textureNames, () => {
|
||||
this.environment = loader.load (environmentSettings.textureNames, (texture) => {
|
||||
texture.colorSpace = THREE.LinearSRGBColorSpace;
|
||||
onLoaded ();
|
||||
});
|
||||
this.environmentSettings = environmentSettings;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user