David Catuhe %!s(int64=7) %!d(string=hai) anos
pai
achega
4501954497

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 14924 - 14928
Playground/babylon.d.txt


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 3271 - 3271
dist/preview release/babylon.d.ts


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 1 - 1
dist/preview release/babylon.js


+ 19 - 5
dist/preview release/babylon.max.js

@@ -91856,6 +91856,9 @@ var BABYLON;
                     this.attachedMesh.computeWorldMatrix();
                     BABYLON.Quaternion.FromRotationMatrixToRef(this._tmpMatrix, this._rootMesh.rotationQuaternion);
                 }
+                else if (this._rootMesh.rotationQuaternion) {
+                    this._rootMesh.rotationQuaternion.set(0, 0, 0, 1);
+                }
                 if (this.updateGizmoPositionToMatchAttachedMesh) {
                     this._rootMesh.position.copyFrom(this.attachedMesh.absolutePosition);
                 }
@@ -93143,8 +93146,10 @@ var BABYLON;
              */
             set: function (value) {
                 if (value) {
-                    this.gizmos.positionGizmo = this.gizmos.positionGizmo || new BABYLON.PositionGizmo();
-                    this.gizmos.positionGizmo.updateGizmoRotationToMatchAttachedMesh = false;
+                    if (!this.gizmos.positionGizmo) {
+                        this.gizmos.positionGizmo = new BABYLON.PositionGizmo();
+                        this.gizmos.positionGizmo.updateGizmoRotationToMatchAttachedMesh = false;
+                    }
                     this.gizmos.positionGizmo.attachedMesh = this._attachedMesh;
                 }
                 else if (this.gizmos.positionGizmo) {
@@ -93164,8 +93169,10 @@ var BABYLON;
              */
             set: function (value) {
                 if (value) {
-                    this.gizmos.rotationGizmo = this.gizmos.rotationGizmo || new BABYLON.RotationGizmo();
-                    this.gizmos.rotationGizmo.updateGizmoRotationToMatchAttachedMesh = false;
+                    if (!this.gizmos.rotationGizmo) {
+                        this.gizmos.rotationGizmo = new BABYLON.RotationGizmo();
+                        this.gizmos.rotationGizmo.updateGizmoRotationToMatchAttachedMesh = false;
+                    }
                     this.gizmos.rotationGizmo.attachedMesh = this._attachedMesh;
                 }
                 else if (this.gizmos.rotationGizmo) {
@@ -96005,7 +96012,7 @@ var BABYLON;
                 var wasPresenting = this._webVRpresenting;
                 // A VR display is connected
                 this._webVRpresenting = vrDisplay.isPresenting;
-                if (wasPresenting && !this._webVRpresenting)
+                if (wasPresenting && !this._webVRpresenting && this.isInVRMode)
                     this.exitVR();
             }
             else {
@@ -96123,6 +96130,13 @@ var BABYLON;
             this.updateButtonVisibility();
             if (this._interactionsEnabled) {
                 this._scene.unregisterBeforeRender(this.beforeRender);
+                this._cameraGazer._gazeTracker.isVisible = false;
+                if (this.leftController) {
+                    this.leftController._gazeTracker.isVisible = false;
+                }
+                if (this.rightController) {
+                    this.rightController._gazeTracker.isVisible = false;
+                }
             }
             // resize to update width and height when exiting vr exits fullscreen
             this._scene.getEngine().resize();

+ 19 - 5
dist/preview release/babylon.no-module.max.js

@@ -91823,6 +91823,9 @@ var BABYLON;
                     this.attachedMesh.computeWorldMatrix();
                     BABYLON.Quaternion.FromRotationMatrixToRef(this._tmpMatrix, this._rootMesh.rotationQuaternion);
                 }
+                else if (this._rootMesh.rotationQuaternion) {
+                    this._rootMesh.rotationQuaternion.set(0, 0, 0, 1);
+                }
                 if (this.updateGizmoPositionToMatchAttachedMesh) {
                     this._rootMesh.position.copyFrom(this.attachedMesh.absolutePosition);
                 }
@@ -93110,8 +93113,10 @@ var BABYLON;
              */
             set: function (value) {
                 if (value) {
-                    this.gizmos.positionGizmo = this.gizmos.positionGizmo || new BABYLON.PositionGizmo();
-                    this.gizmos.positionGizmo.updateGizmoRotationToMatchAttachedMesh = false;
+                    if (!this.gizmos.positionGizmo) {
+                        this.gizmos.positionGizmo = new BABYLON.PositionGizmo();
+                        this.gizmos.positionGizmo.updateGizmoRotationToMatchAttachedMesh = false;
+                    }
                     this.gizmos.positionGizmo.attachedMesh = this._attachedMesh;
                 }
                 else if (this.gizmos.positionGizmo) {
@@ -93131,8 +93136,10 @@ var BABYLON;
              */
             set: function (value) {
                 if (value) {
-                    this.gizmos.rotationGizmo = this.gizmos.rotationGizmo || new BABYLON.RotationGizmo();
-                    this.gizmos.rotationGizmo.updateGizmoRotationToMatchAttachedMesh = false;
+                    if (!this.gizmos.rotationGizmo) {
+                        this.gizmos.rotationGizmo = new BABYLON.RotationGizmo();
+                        this.gizmos.rotationGizmo.updateGizmoRotationToMatchAttachedMesh = false;
+                    }
                     this.gizmos.rotationGizmo.attachedMesh = this._attachedMesh;
                 }
                 else if (this.gizmos.rotationGizmo) {
@@ -95972,7 +95979,7 @@ var BABYLON;
                 var wasPresenting = this._webVRpresenting;
                 // A VR display is connected
                 this._webVRpresenting = vrDisplay.isPresenting;
-                if (wasPresenting && !this._webVRpresenting)
+                if (wasPresenting && !this._webVRpresenting && this.isInVRMode)
                     this.exitVR();
             }
             else {
@@ -96090,6 +96097,13 @@ var BABYLON;
             this.updateButtonVisibility();
             if (this._interactionsEnabled) {
                 this._scene.unregisterBeforeRender(this.beforeRender);
+                this._cameraGazer._gazeTracker.isVisible = false;
+                if (this.leftController) {
+                    this.leftController._gazeTracker.isVisible = false;
+                }
+                if (this.rightController) {
+                    this.rightController._gazeTracker.isVisible = false;
+                }
             }
             // resize to update width and height when exiting vr exits fullscreen
             this._scene.getEngine().resize();

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 1 - 1
dist/preview release/babylon.worker.js


+ 19 - 5
dist/preview release/es6.js

@@ -91823,6 +91823,9 @@ var BABYLON;
                     this.attachedMesh.computeWorldMatrix();
                     BABYLON.Quaternion.FromRotationMatrixToRef(this._tmpMatrix, this._rootMesh.rotationQuaternion);
                 }
+                else if (this._rootMesh.rotationQuaternion) {
+                    this._rootMesh.rotationQuaternion.set(0, 0, 0, 1);
+                }
                 if (this.updateGizmoPositionToMatchAttachedMesh) {
                     this._rootMesh.position.copyFrom(this.attachedMesh.absolutePosition);
                 }
@@ -93110,8 +93113,10 @@ var BABYLON;
              */
             set: function (value) {
                 if (value) {
-                    this.gizmos.positionGizmo = this.gizmos.positionGizmo || new BABYLON.PositionGizmo();
-                    this.gizmos.positionGizmo.updateGizmoRotationToMatchAttachedMesh = false;
+                    if (!this.gizmos.positionGizmo) {
+                        this.gizmos.positionGizmo = new BABYLON.PositionGizmo();
+                        this.gizmos.positionGizmo.updateGizmoRotationToMatchAttachedMesh = false;
+                    }
                     this.gizmos.positionGizmo.attachedMesh = this._attachedMesh;
                 }
                 else if (this.gizmos.positionGizmo) {
@@ -93131,8 +93136,10 @@ var BABYLON;
              */
             set: function (value) {
                 if (value) {
-                    this.gizmos.rotationGizmo = this.gizmos.rotationGizmo || new BABYLON.RotationGizmo();
-                    this.gizmos.rotationGizmo.updateGizmoRotationToMatchAttachedMesh = false;
+                    if (!this.gizmos.rotationGizmo) {
+                        this.gizmos.rotationGizmo = new BABYLON.RotationGizmo();
+                        this.gizmos.rotationGizmo.updateGizmoRotationToMatchAttachedMesh = false;
+                    }
                     this.gizmos.rotationGizmo.attachedMesh = this._attachedMesh;
                 }
                 else if (this.gizmos.rotationGizmo) {
@@ -95972,7 +95979,7 @@ var BABYLON;
                 var wasPresenting = this._webVRpresenting;
                 // A VR display is connected
                 this._webVRpresenting = vrDisplay.isPresenting;
-                if (wasPresenting && !this._webVRpresenting)
+                if (wasPresenting && !this._webVRpresenting && this.isInVRMode)
                     this.exitVR();
             }
             else {
@@ -96090,6 +96097,13 @@ var BABYLON;
             this.updateButtonVisibility();
             if (this._interactionsEnabled) {
                 this._scene.unregisterBeforeRender(this.beforeRender);
+                this._cameraGazer._gazeTracker.isVisible = false;
+                if (this.leftController) {
+                    this.leftController._gazeTracker.isVisible = false;
+                }
+                if (this.rightController) {
+                    this.rightController._gazeTracker.isVisible = false;
+                }
             }
             // resize to update width and height when exiting vr exits fullscreen
             this._scene.getEngine().resize();

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 1 - 1
dist/preview release/gui/babylon.gui.js


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 1 - 1
dist/preview release/gui/babylon.gui.min.js


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 1 - 1
dist/preview release/gui/babylon.gui.min.js.map


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 1 - 1
dist/preview release/inspector/babylon.inspector.bundle.js.map


+ 3 - 3
dist/preview release/inspector/babylon.inspector.d.ts

@@ -27,8 +27,8 @@ declare module INSPECTOR {
             static DOCUMENT: HTMLDocument;
             /** The HTML window. In popup mode, it's the popup itself. Otherwise, it's the current tab */
             static WINDOW: Window;
-            onGUILoaded: BABYLON.Observable<typeof import("babylonjs-gui")>;
-            static GUIObject: typeof import("babylonjs-gui");
+            onGUILoaded: BABYLON.Observable<any>;
+            static GUIObject: any;
             /** The inspector is created with the given engine.
                 * If the parameter 'popup' is false, the inspector is created as a right panel on the main window.
                 * If the parameter 'popup' is true, the inspector is created in another popup.
@@ -239,7 +239,7 @@ declare module INSPECTOR {
     };
 }
 declare module INSPECTOR {
-    export type GUITyping = typeof import("babylonjs-gui");
+    export type GUITyping = any;
     export let guiLoaded: boolean;
     /**
        * Function that add gui objects properties to the variable PROPERTIES

+ 6 - 6
dist/preview release/inspector/babylon.inspector.module.d.ts

@@ -107,8 +107,8 @@ declare module 'babylonjs-inspector/Inspector' {
             static DOCUMENT: HTMLDocument;
             /** The HTML window. In popup mode, it's the popup itself. Otherwise, it's the current tab */
             static WINDOW: Window;
-            onGUILoaded: Observable<typeof import("babylonjs-gui")>;
-            static GUIObject: typeof import("babylonjs-gui");
+            onGUILoaded: Observable<any>;
+            static GUIObject: any;
             /** The inspector is created with the given engine.
                 * If the parameter 'popup' is false, the inspector is created as a right panel on the main window.
                 * If the parameter 'popup' is true, the inspector is created in another popup.
@@ -322,7 +322,7 @@ declare module 'babylonjs-inspector/properties' {
 }
 
 declare module 'babylonjs-inspector/properties_gui' {
-    export type GUITyping = typeof import("babylonjs-gui");
+    export type GUITyping = any;
     export let guiLoaded: boolean;
     /**
        * Function that add gui objects properties to the variable PROPERTIES
@@ -1358,8 +1358,8 @@ declare module INSPECTOR {
             static DOCUMENT: HTMLDocument;
             /** The HTML window. In popup mode, it's the popup itself. Otherwise, it's the current tab */
             static WINDOW: Window;
-            onGUILoaded: BABYLON.Observable<typeof import("babylonjs-gui")>;
-            static GUIObject: typeof import("babylonjs-gui");
+            onGUILoaded: BABYLON.Observable<any>;
+            static GUIObject: any;
             /** The inspector is created with the given engine.
                 * If the parameter 'popup' is false, the inspector is created as a right panel on the main window.
                 * If the parameter 'popup' is true, the inspector is created in another popup.
@@ -1570,7 +1570,7 @@ declare module INSPECTOR {
     };
 }
 declare module INSPECTOR {
-    export type GUITyping = typeof import("babylonjs-gui");
+    export type GUITyping = any;
     export let guiLoaded: boolean;
     /**
        * Function that add gui objects properties to the variable PROPERTIES

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 2 - 2
dist/preview release/viewer/babylon.viewer.js


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 2 - 2
dist/preview release/viewer/babylon.viewer.max.js