Skip to content

Commit

Permalink
Merge pull request #103 from Exabyte-io/feature/SOF-6044
Browse files Browse the repository at this point in the history
Feature/sof 6044
  • Loading branch information
timurbazhirov committed Oct 13, 2022
2 parents da51aad + 6d00fdc commit 41bff37
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@babel/preset-react": "7.16.7",
"@babel/runtime-corejs2": "7.16.7",
"@exabyte-io/periodic-table.js": "2022.5.5-2",
"three": "npm:@exabyte-io/three@2022.8.9-0",
"three": "npm:@exabyte-io/three@2022.10.13-0",
"@material-ui/core": "^4.12.3",
"@material-ui/icons": "^4.11.2",
"classnames": "2.3.1",
Expand Down
7 changes: 3 additions & 4 deletions src/components/ThreejsEditorModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ import { Editor } from "three/editor/js/Editor";
import { Menubar } from "three/editor/js/Menubar";
import { Player } from "three/editor/js/Player";
import { Sidebar } from "three/editor/js/Sidebar";
// TODO : resolve tern global reference in codemirror
// import { Script } from "three/editor/js/Script";
import { Script } from "three/editor/js/Script";
import { Toolbar } from "three/editor/js/Toolbar";
import { Viewport } from "three/editor/js/Viewport";

Expand Down Expand Up @@ -107,8 +106,8 @@ export class ThreejsEditorModal extends ModalDialog {
this.domElement.appendChild(viewport.dom);

// initialize UI elements and add them to the DOM
// const script = new Script(this.editor);
// this.domElement.appendChild(script.dom);
const script = new Script(this.editor);
this.domElement.appendChild(script.dom);
const player = new Player(this.editor);
this.domElement.appendChild(player.dom);
const menubar = new Menubar(this.editor);
Expand Down

0 comments on commit 41bff37

Please sign in to comment.