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

Conversation

vyrnix9582046173
Copy link
Contributor

@vyrnix9582046173 vyrnix9582046173 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?

@vyrnix9582046173 vyrnix9582046173 changed the title Remove layers emit functions "Enter XR" button toggle VR entry/exiting Jun 12, 2019

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.

@vyrnix9582046173
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.

2 participants