Skip to content

Commit

Permalink
Merge pull request #15 from RyugaRyuzaki/develop
Browse files Browse the repository at this point in the history
fixed build
  • Loading branch information
RyugaRyuzaki authored May 26, 2024
2 parents 4200cbf + 972c1b2 commit 825e4db
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 18 deletions.
13 changes: 0 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
"three": "^0.163.0",
"three-mesh-bvh": "^0.7.4",
"three-stdlib": "^2.29.6",
"uuid": "^9.0.1",
"web-ifc": "^0.0.54"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions src/BimModel/src/system/00-base/Utils.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {IFC4} from "web-ifc";
import {v4 as uuid4} from "uuid";
import * as THREE from "three";
export function globalId(): IFC4.IfcGloballyUniqueId {
return new IFC4.IfcGloballyUniqueId(uuid4());
return new IFC4.IfcGloballyUniqueId(THREE.MathUtils.generateUUID());
}
3 changes: 1 addition & 2 deletions src/pages/viewer/Viewer.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,13 @@
text-align: center;
border: none;
border-radius: 5px;
padding: 5px;
padding: 1px;
margin: auto;
background: transparent;
background-color: rgb(78, 78, 174);
color: white!important;
font-weight: 700;
z-index: 4000;
padding: 5px;
display: flex;
justify-content: flex-start;
}
Expand Down

0 comments on commit 825e4db

Please sign in to comment.