Преглед изворни кода

Adjusting message when calling requestVRFullscreen (deprecated).

Raanan Weber пре 9 година
родитељ
комит
078cd341e2
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      src/Cameras/VR/babylon.webVRCamera.ts

+ 2 - 2
src/Cameras/VR/babylon.webVRCamera.ts

@@ -107,8 +107,8 @@ module BABYLON {
 
 
         public requestVRFullscreen(requestPointerlock: boolean) {
         public requestVRFullscreen(requestPointerlock: boolean) {
             //Backwards comp.
             //Backwards comp.
-            Tools.Warn("requestVRFullscreen is deprecated. Use engine.switchFullscreen() instead")
-            this.getEngine().switchFullscreen(requestPointerlock);
+            Tools.Warn("requestVRFullscreen is deprecated. call attachControl() to start sending frames to the VR display.")
+            //this.getEngine().switchFullscreen(requestPointerlock);
         }
         }
 
 
         public getTypeName(): string {
         public getTypeName(): string {