فهرست منبع

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) {
             //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 {