Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

Commit

Permalink
import fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
HexaField committed Aug 17, 2024
1 parent 0039316 commit 9a5db2d
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/examples/BPCEM.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Template } from './utils/template'
export default function BPCEM() {
return (
<div id="dnd-container" style={{ height: '25%', width: '25%', pointerEvents: 'all' }}>
<Template projectName={'ee-development-test-suite'} sceneName={'bpcem-envmap-bake-test'} />
<Template projectName={'etherealengine/ee-development-test-suite'} sceneName={'bpcem-envmap-bake-test'} />
</div>
)
}
2 changes: 1 addition & 1 deletion src/examples/LODs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ const LODsDND = () => {
const result = await uploadToFeathersService('upload-asset', files, {
type: 'admin-file-upload',
args: {
project: 'ee-development-test-suite'
project: 'etherealengine/ee-development-test-suite'
} as AdminAssetUploadArgumentsType,
variants: true
}).promise
Expand Down
4 changes: 2 additions & 2 deletions src/examples/immersiveAR.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ import { EntityTreeComponent } from '@etherealengine/spatial/src/transform/compo
import { XRDetectedMeshComponent } from '@etherealengine/spatial/src/xr/XRDetectedMeshComponent'
import { XRDetectedPlaneComponent } from '@etherealengine/spatial/src/xr/XRDetectedPlaneComponent'
import { EmulatorDevtools } from '@etherealengine/ee-bot/devtool/EmulatorDevtools'
import 'ee-bot/src/functions/BotHookSystem'
import '@etherealengine/ee-bot/src/functions/BotHookSystem'
import React from 'react'
import { useRouteScene } from '../sceneRoute'
import { DetectedMeshes, DetectedPlanes } from './XRMeshes'

export default function ImmersiveAR() {
useRouteScene('default-project', 'public/scenes/apartment.gltf')
useRouteScene('etherealengine/default-project', 'public/scenes/apartment.gltf')
useNetwork({ online: false })
useLoadEngineWithScene()
const viewerEntity = useMutableState(EngineState).viewerEntity.value
Expand Down
4 changes: 2 additions & 2 deletions src/examples/immersiveVR.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ import { RendererState } from '@etherealengine/spatial/src/renderer/RendererStat
import { XRDetectedMeshComponent } from '@etherealengine/spatial/src/xr/XRDetectedMeshComponent'
import { XRDetectedPlaneComponent } from '@etherealengine/spatial/src/xr/XRDetectedPlaneComponent'
import { EmulatorDevtools } from '@etherealengine/ee-bot/devtool/EmulatorDevtools'
import 'ee-bot/src/functions/BotHookSystem'
import '@etherealengine/ee-bot/src/functions/BotHookSystem'
import React from 'react'
import { useRouteScene } from '../sceneRoute'
import { DetectedMeshes, DetectedPlanes } from './XRMeshes'

export default function ImmersiveVR() {
useRouteScene('default-project', 'public/scenes/default.gltf')
useRouteScene('etherealengine/default-project', 'public/scenes/default.gltf')
useNetwork({ online: false })
useLoadEngineWithScene()
const viewerEntity = useMutableState(EngineState).viewerEntity.value
Expand Down
2 changes: 1 addition & 1 deletion src/examples/utils/template.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export function useSpawnAvatar(spawnAvatar?: boolean) {
export function Template(props: { projectName?: string; sceneName?: string; spawnAvatar?: boolean }) {
useSpawnAvatar(props.spawnAvatar)
useLoadScene({
projectName: props.projectName ?? 'default-project',
projectName: props.projectName ?? 'etherealengine/default-project',
sceneName: props.sceneName ?? 'public/scenes/default.gltf'
})
useNetwork({ online: false })
Expand Down
2 changes: 1 addition & 1 deletion src/sceneRoute.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const Header = (props: { header: string }) => {
)
}

export const useRouteScene = (projectName = 'ee-development-test-suite', sceneName = 'public/scenes/Examples.gltf') => {
export const useRouteScene = (projectName = 'etherealengine/ee-development-test-suite', sceneName = 'public/scenes/Examples.gltf') => {
const viewerEntity = useMutableState(EngineState).viewerEntity.value
useLoadScene({ projectName: projectName, sceneName: sceneName })
useNetwork({ online: false })
Expand Down

0 comments on commit 9a5db2d

Please sign in to comment.