From f49bd177400cfcd68c4214fd06fc9fb172726ac0 Mon Sep 17 00:00:00 2001 From: Alberto Casas Ortiz Date: Thu, 19 Sep 2024 10:44:25 -0700 Subject: [PATCH] Added lil-gui dependency to prod. Added missing import Mesh. --- package-lock.json | 7 +++---- package.json | 4 ++-- src/components/pages/OpenSimScene.tsx | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index ab0177d..01373b2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -38,6 +38,7 @@ "i18next": "^22.4.15", "i18next-browser-languagedetector": "^7.0.1", "jest": "^29.5.0", + "lil-gui": "^0.19.2", "mobx": "^6.9.0", "mobx-react": "^7.6.0", "notistack": "^3.0.1", @@ -60,8 +61,7 @@ "devDependencies": { "@babel/plugin-proposal-private-property-in-object": "^7.21.0-placeholder-for-preset-env.2", "@types/react": "^18.0.28", - "@types/react-dom": "^18.0.11", - "lil-gui": "^0.19.2" + "@types/react-dom": "^18.0.11" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -25284,8 +25284,7 @@ "node_modules/lil-gui": { "version": "0.19.2", "resolved": "https://registry.npmjs.org/lil-gui/-/lil-gui-0.19.2.tgz", - "integrity": "sha512-nU8j4ND702ouGfQZoaTN4dfXxacvGOAVK0DtmZBVcUYUAeYQXLQAjAN50igMHiba3T5jZyKEjXZU+Ntm1Qs6ZQ==", - "dev": true + "integrity": "sha512-nU8j4ND702ouGfQZoaTN4dfXxacvGOAVK0DtmZBVcUYUAeYQXLQAjAN50igMHiba3T5jZyKEjXZU+Ntm1Qs6ZQ==" }, "node_modules/lilconfig": { "version": "2.1.0", diff --git a/package.json b/package.json index 4e71224..86959b8 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,7 @@ "i18next": "^22.4.15", "i18next-browser-languagedetector": "^7.0.1", "jest": "^29.5.0", + "lil-gui": "^0.19.2", "mobx": "^6.9.0", "mobx-react": "^7.6.0", "notistack": "^3.0.1", @@ -82,8 +83,7 @@ "devDependencies": { "@babel/plugin-proposal-private-property-in-object": "^7.21.0-placeholder-for-preset-env.2", "@types/react": "^18.0.28", - "@types/react-dom": "^18.0.11", - "lil-gui": "^0.19.2" + "@types/react-dom": "^18.0.11" }, "jest": { "moduleNameMapper": { diff --git a/src/components/pages/OpenSimScene.tsx b/src/components/pages/OpenSimScene.tsx index 04a716e..f4ee68a 100644 --- a/src/components/pages/OpenSimScene.tsx +++ b/src/components/pages/OpenSimScene.tsx @@ -3,7 +3,7 @@ import { useFrame, useThree } from '@react-three/fiber' import * as THREE from 'three'; import { useEffect, useRef, useState } from 'react' -import { AnimationMixer, BoxHelper, Color, DirectionalLight, Group, Object3D, Scene, SpotLight } from 'three' +import { AnimationMixer, BoxHelper, Color, DirectionalLight, Group, Object3D, Scene, SpotLight, Mesh } from 'three' import { observer } from 'mobx-react'