Skip to content
This repository has been archived by the owner on Jan 24, 2020. It is now read-only.

"Enter XR" button toggle VR entry/exiting #37

Closed
wants to merge 4 commits into from
Closed

Conversation

chrislatorres
Copy link
Contributor

@chrislatorres chrislatorres commented Jun 12, 2019

This PR is for the "Enter XR" button to toggle entering/exiting VR mode, VR entering should not be default for studio.

const layer = layers[i];

if (layer.tagName === 'IFRAME' && layer.d === 3) {
layer.contentWindow.runAsync('exitPresent');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If one window exits presentation, how are the other windows notified?

@chrislatorres chrislatorres changed the title Remove layers emit functions "Enter XR" button toggle VR entry/exiting Jun 12, 2019
@@ -3291,7 +3305,14 @@
gl.uniform1i(gl.uiTexLocation, 0);

gl.activeTexture(gl.TEXTURE1);
gl.bindTexture(gl.TEXTURE_2D, fakeXrDisplay.texture);
if(fakeXrDisplay){
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section will be dropped after #35.

@chrislatorres
Copy link
Contributor Author

Closing in favor of #40

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants