Update three.js and rhino3dm.js.
This commit is contained in:
parent
aed31939fd
commit
600718fabe
8
libs/loaders/rhino3dm.min.js
vendored
8
libs/loaders/rhino3dm.min.js
vendored
File diff suppressed because one or more lines are too long
Binary file not shown.
@ -5419,9 +5419,9 @@ var WebIFC = (() => {
|
||||
if (typeof globalThis == "object") {
|
||||
return globalThis;
|
||||
}
|
||||
return function() {
|
||||
return (/* @__PURE__ */ function() {
|
||||
return Function;
|
||||
}()("return this")();
|
||||
}())("return this")();
|
||||
}
|
||||
function __emval_get_global(name) {
|
||||
name >>>= 0;
|
||||
@ -8106,9 +8106,9 @@ var WebIFC = (() => {
|
||||
if (typeof globalThis == "object") {
|
||||
return globalThis;
|
||||
}
|
||||
return function() {
|
||||
return (/* @__PURE__ */ function() {
|
||||
return Function;
|
||||
}()("return this")();
|
||||
}())("return this")();
|
||||
}
|
||||
function __emval_get_global(name) {
|
||||
name >>>= 0;
|
||||
|
||||
2275
package-lock.json
generated
2275
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -78,8 +78,8 @@
|
||||
"draco3d": "1.5.6",
|
||||
"fflate": "0.8.1",
|
||||
"occt-import-js": "0.0.21",
|
||||
"rhino3dm": "7.15.0",
|
||||
"three": "0.157.0",
|
||||
"rhino3dm": "8.0.1",
|
||||
"three": "0.158.0",
|
||||
"web-ifc": "0.0.44"
|
||||
},
|
||||
"eslintConfig": {
|
||||
|
||||
@ -95,7 +95,7 @@ export class Importer3dm extends ImporterBase
|
||||
}
|
||||
}
|
||||
let rhinoInstanceDefinitions = rhinoDoc.instanceDefinitions ();
|
||||
for (let i = 0; i < rhinoInstanceDefinitions.count (); i++) {
|
||||
for (let i = 0; i < rhinoInstanceDefinitions.count; i++) {
|
||||
let rhinoInstanceDefinition = rhinoInstanceDefinitions.get (i);
|
||||
this.instanceIdToDefinition.set (rhinoInstanceDefinition.id, rhinoInstanceDefinition);
|
||||
}
|
||||
@ -104,9 +104,9 @@ export class Importer3dm extends ImporterBase
|
||||
ImportRhinoUserStrings (rhinoDoc)
|
||||
{
|
||||
let docStrings = rhinoDoc.strings ();
|
||||
if (docStrings.count () > 0) {
|
||||
if (docStrings.count > 0) {
|
||||
let propertyGroup = new PropertyGroup ('Document user texts');
|
||||
for (let i = 0; i < docStrings.count (); i++) {
|
||||
for (let i = 0; i < docStrings.count; i++) {
|
||||
let docString = docStrings.get (i);
|
||||
propertyGroup.AddProperty (new Property (PropertyType.Text, docString[0], docString[1]));
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user