Skip to content

Commit 4011bfc

Browse files
committed
Merge branch 'dev' into IR-9803-Dynamic-Authoring
2 parents f62b988 + 6f0283e commit 4011bfc

19 files changed

+71
-48
lines changed

src/devtool/js/emulatedDevice.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import { generateUUID } from 'three/src/math/MathUtils.js';
2424
import { updateUserObjects } from './messenger';
2525

2626
import config from '@ir-engine/common/src/config';
27-
const assetURL = config.client.fileServer + '/projects/ir-engine/ir-development-test-suite/devtool'
27+
const assetURL = config.client.fileServer + '/projects/ir-engine/ir-development-test-suite/src/devtool'
2828

2929
const SELECTION_MOUSE_DOWN_THRESHOLD = 300;
3030

src/devtool/jsx/controllers.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import {
2020
} from '../js/messenger';
2121
import config from '@ir-engine/common/src/config';
2222

23-
const assetURL = config.client.fileServer + '/projects/ir-engine/ir-development-test-suite/devtool'
23+
const assetURL = config.client.fileServer + '/projects/ir-engine/ir-development-test-suite/src/devtool'
2424

2525
import { Joystick } from '../js/joystick';
2626
import React from 'react';

src/devtool/jsx/hands.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import React from 'react';
1717
import { createAnalogPressFunction } from './controllers.jsx';
1818

1919
import config from '@ir-engine/common/src/config';
20-
const assetURL = config.client.fileServer + '/projects/ir-engine/ir-development-test-suite/devtool'
20+
const assetURL = config.client.fileServer + '/projects/ir-engine/ir-development-test-suite/src/devtool'
2121

2222

2323
export default function HandPanel({ deviceKey, device }) {

src/devtool/jsx/headset.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515
} from '../js/messenger';
1616
import config from '@ir-engine/common/src/config';
1717

18-
const assetURL = config.client.fileServer + '/projects/ir-engine/ir-development-test-suite/devtool'
18+
const assetURL = config.client.fileServer + '/projects/ir-engine/ir-development-test-suite/src/devtool'
1919

2020
import { DEVICE_DEFINITIONS } from '../js/devices';
2121
import { EmulatorSettings } from '../js/emulatorStates';

src/devtool/jsx/inspector.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import React from 'react';
1818
import { changeRoomDimension } from '../js/messenger';
1919

2020
import config from '@ir-engine/common/src/config';
21-
const assetURL = config.client.fileServer + '/projects/ir-engine/ir-development-test-suite/devtool'
21+
const assetURL = config.client.fileServer + '/projects/ir-engine/ir-development-test-suite/src/devtool'
2222

2323
export default function Inspector({ device, inputMode }) {
2424
const sceneContainerRef = React.useRef();

src/devtool/jsx/pose.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import initKeyboardControl from '../js/keyboard';
1414

1515

1616
import config from '@ir-engine/common/src/config';
17-
const assetURL = config.client.fileServer + '/projects/ir-engine/ir-development-test-suite/devtool'
17+
const assetURL = config.client.fileServer + '/projects/ir-engine/ir-development-test-suite/src/devtool'
1818

1919
export default function PoseBar({ device, setInputMode }) {
2020
const saveDefaultPoseRef = React.useRef();

src/engine/benchmarks/AvatarBenchmark.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import {
44
Engine,
55
Entity,
66
EntityTreeComponent,
7+
NetworkObjectComponent,
78
UUIDComponent,
89
createEntity,
910
getComponent,
@@ -21,7 +22,6 @@ import { AvatarColliderComponent } from '@ir-engine/engine/src/avatar/components
2122
import { LoopAnimationComponent } from '@ir-engine/engine/src/avatar/components/LoopAnimationComponent'
2223
import { GLTFComponent } from '@ir-engine/engine/src/gltf/GLTFComponent'
2324
import { useHookstate } from '@ir-engine/hyperflux'
24-
import { NetworkObjectComponent } from '@ir-engine/network'
2525
import { TransformComponent } from '@ir-engine/spatial'
2626
import { RigidBodyComponent } from '@ir-engine/spatial/src/physics/components/RigidBodyComponent'
2727
import { VisibleComponent, setVisibleComponent } from '@ir-engine/spatial/src/renderer/components/VisibleComponent'

src/engine/benchmarks/PhysicsBenchmark.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Engine, Entity, getComponent, removeEntity, setComponent } from '@ir-engine/ecs'
22
import { PrimitiveGeometryComponent } from '@ir-engine/engine/src/scene/components/PrimitiveGeometryComponent'
3-
import { GeometryTypeEnum } from '@ir-engine/engine/src/scene/constants/GeometryTypeEnum'
3+
import { GeometryType } from '@ir-engine/engine/src/scene/constants/GeometryTypeEnum'
44
import { TransformComponent } from '@ir-engine/spatial'
55
import { ColliderComponent } from '@ir-engine/spatial/src/physics/components/ColliderComponent'
66
import { RigidBodyComponent } from '@ir-engine/spatial/src/physics/components/RigidBodyComponent'
@@ -27,7 +27,7 @@ const createPhysicsEntity = (rootEntity: Entity) => {
2727
setComponent(entity, ObjectComponent, obj3d)
2828
setComponent(entity, TransformComponent, { position, scale })
2929
setComponent(entity, PrimitiveGeometryComponent, {
30-
geometryType: GeometryTypeEnum.SphereGeometry,
30+
geometryType: GeometryType.SphereGeometry,
3131
geometryParams: {
3232
radius: 1,
3333
widthSegments: 32,

src/examples/InstanceConnection.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ import { MediasoupDataProducerConsumerState } from '@ir-engine/common/src/transp
1111
import { MediasoupMediaProducerConsumerState } from '@ir-engine/common/src/transports/mediasoup/MediasoupMediaProducerConsumerState'
1212
import { MediasoupTransportState } from '@ir-engine/common/src/transports/mediasoup/MediasoupTransportState'
1313
import { Button } from '@ir-engine/editor/src/components/inputs/Button'
14-
import { getMutableState, getState, useHookstate } from '@ir-engine/hyperflux'
15-
import { Network, NetworkState } from '@ir-engine/network'
14+
import { getMutableState, getState, Network, NetworkState, useHookstate } from '@ir-engine/hyperflux'
1615

1716
const TransportInfo = (props: { networkID: InstanceID; transportID: string }) => {
1817
const transportState = useHookstate(

src/examples/P2PConnection.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ import { useNetwork } from '@ir-engine/client-core/src/components/World/EngineHo
44
import { LocationService, LocationState } from '@ir-engine/client-core/src/social/services/LocationService'
55
import { AuthService } from '@ir-engine/client-core/src/user/services/AuthService'
66
import { InstanceID } from '@ir-engine/common/src/schema.type.module'
7-
import { getMutableState, useHookstate } from '@ir-engine/hyperflux'
8-
import { NetworkState } from '@ir-engine/network'
7+
import { getMutableState, NetworkState, useHookstate } from '@ir-engine/hyperflux'
98

109
export default function P2PConnection() {
1110
const online = useHookstate(true)

0 commit comments

Comments
 (0)