Skip to content

Commit

Permalink
Merge pull request #1 from ir-engine/non-3d-page-load-optimizations
Browse files Browse the repository at this point in the history
Non 3d page load optimizations
  • Loading branch information
HexaField authored Aug 21, 2024
2 parents a23a240 + 215903a commit 462e570
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/functions/botHookFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export function serializeEngine() {
const engine = {
userId: Engine.instance.userID,
store: Engine.instance.store,
publicPath: getState(EngineState).publicPath,
publicPath: Engine.instance.store.publicPath,
xrFrame: getState(XRState).xrFrame,
isEditor: getState(EngineState).isEditor
}
Expand Down
1 change: 0 additions & 1 deletion src/functions/xrBotHookFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,6 @@ export function updateController(args: { objectName: string; position: number[];
}

export async function simulateXR() {
// await loadScript(getState(EngineState).publicPath + '/scripts/webxr-polyfill.js')
await overrideXR({ mode: 'immersive-vr' })
await xrSupported()
await startXR()
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"include": [
"../../../../../__global.d.ts",
"../../../../server-core/src/*",
"../../../../client-core/src/*",
"./**/*.ts",
"./**/*.tsx"
]
Expand Down

0 comments on commit 462e570

Please sign in to comment.