Merge pull request #1785 from thecodingmachine/fix_camera_light

Remove hideMyCamera function, not working correctly
This commit is contained in:
grégoire parant 2022-01-28 15:25:56 +01:00 committed by GitHub
commit 790c7175cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1603,7 +1603,9 @@ ${escapedMessage}
this.sharedVariablesManager?.close(); this.sharedVariablesManager?.close();
this.embeddedWebsiteManager?.close(); this.embeddedWebsiteManager?.close();
mediaManager.hideMyCamera(); //When we leave game, the camera is stop to be reopen after.
// I think that we could keep camera status and the scene can manage camera setup
//mediaManager.hideMyCamera();
for (const iframeEvents of this.iframeSubscriptionList) { for (const iframeEvents of this.iframeSubscriptionList) {
iframeEvents.unsubscribe(); iframeEvents.unsubscribe();