Forráskód Böngészése

Merge pull request #9627 from sebavan/master

5.0.0-alpha.5
sebavan 4 éve
szülő
commit
a8b37862a2

+ 2 - 0
dist/preview release/babylon.d.ts

@@ -13576,6 +13576,8 @@ declare module BABYLON {
         _outputs: NodeMaterialConnectionPoint[];
         /** @hidden */
         _preparationId: number;
+        /** @hidden */
+        readonly _originalTargetIsNeutral: boolean;
         /**
          * Gets the name of the block
          */

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 1
dist/preview release/babylon.js


+ 37 - 41
dist/preview release/babylon.max.js

@@ -43342,20 +43342,10 @@ var NativeEngine = /** @class */ (function (_super) {
     };
     NativeEngine.prototype.clear = function (color, backBuffer, depth, stencil) {
         if (stencil === void 0) { stencil = false; }
-        var mode = 0;
-        if (backBuffer && color) {
-            this._native.clearColor(color.r, color.g, color.b, color.a !== undefined ? color.a : 1.0);
-            mode |= this._native.CLEAR_FLAG_COLOR;
-        }
-        if (depth) {
-            this._native.clearDepth(1.0);
-            mode |= this._native.CLEAR_FLAG_DEPTH;
-        }
-        if (stencil) {
-            this._native.clearStencil(0);
-            mode |= this._native.CLEAR_FLAG_STENCIL;
+        if (this.useReverseDepthBuffer) {
+            throw new Error("reverse depth buffer is not currently implemented");
         }
-        this._native.clear(mode);
+        this._native.clear(backBuffer ? color : null, depth ? 1.0 : undefined, stencil ? 0 : undefined);
     };
     NativeEngine.prototype.createIndexBuffer = function (indices, updateable) {
         var data = this._normalizeIndexData(indices);
@@ -45718,12 +45708,7 @@ var ThinEngine = /** @class */ (function () {
             this._currentBufferPointers[i] = new BufferPointer();
         }
         // Shader processor
-        if (this.webGLVersion > 1) {
-            this._shaderProcessor = new _WebGL_webGL2ShaderProcessors__WEBPACK_IMPORTED_MODULE_12__["WebGL2ShaderProcessor"]();
-        }
-        else {
-            this._shaderProcessor = new _WebGL_webGLShaderProcessors__WEBPACK_IMPORTED_MODULE_11__["WebGLShaderProcessor"]();
-        }
+        this._shaderProcessor = this._getShaderProcessor();
         // Detect if we are running on a faulty buggy OS.
         this._badOS = /iPad/i.test(navigator.userAgent) || /iPhone/i.test(navigator.userAgent);
         // Starting with iOS 14, we can trust the browser
@@ -45744,7 +45729,7 @@ var ThinEngine = /** @class */ (function () {
          */
         // Not mixed with Version for tooling purpose.
         get: function () {
-            return "babylonjs@5.0.0-alpha.4";
+            return "babylonjs@5.0.0-alpha.5";
         },
         enumerable: false,
         configurable: true
@@ -45754,7 +45739,7 @@ var ThinEngine = /** @class */ (function () {
          * Returns the current version of the framework
          */
         get: function () {
-            return "5.0.0-alpha.4";
+            return "5.0.0-alpha.5";
         },
         enumerable: false,
         configurable: true
@@ -45986,18 +45971,13 @@ var ThinEngine = /** @class */ (function () {
      */
     ThinEngine.prototype._sharedInit = function (canvas, doNotHandleTouchAction, audioEngine) {
         this._renderingCanvas = canvas;
-        // Shader processor
-        this._shaderProcessor = this._getShaderProcessor();
     };
     /**
      * Gets a shader processor implementation fitting with the current engine type.
      * @returns The shader processor implementation.
      */
     ThinEngine.prototype._getShaderProcessor = function () {
-        if (this.webGLVersion > 1) {
-            return new _WebGL_webGL2ShaderProcessors__WEBPACK_IMPORTED_MODULE_12__["WebGL2ShaderProcessor"]();
-        }
-        return null;
+        return (this.webGLVersion > 1 ? new _WebGL_webGL2ShaderProcessors__WEBPACK_IMPORTED_MODULE_12__["WebGL2ShaderProcessor"]() : new _WebGL_webGLShaderProcessors__WEBPACK_IMPORTED_MODULE_11__["WebGLShaderProcessor"]());
     };
     /** @hidden */
     ThinEngine.prototype._getShaderProcessingContext = function () {
@@ -91629,6 +91609,7 @@ var NodeMaterialBlock = /** @class */ (function () {
         /** Gets or sets a boolean indicating that this input can be edited from a collapsed frame*/
         this.visibleOnFrame = false;
         this._target = target;
+        this._originalTargetIsNeutral = target === _Enums_nodeMaterialBlockTargets__WEBPACK_IMPORTED_MODULE_2__["NodeMaterialBlockTargets"].Neutral;
         this._isFinalMerger = isFinalMerger;
         this._isInput = isInput;
         this._name = name;
@@ -92226,6 +92207,7 @@ var NodeMaterialBlock = /** @class */ (function () {
         serializationObject.comments = this.comments;
         serializationObject.visibleInInspector = this.visibleInInspector;
         serializationObject.visibleOnFrame = this.visibleOnFrame;
+        serializationObject.target = this.target;
         serializationObject.inputs = [];
         serializationObject.outputs = [];
         for (var _i = 0, _a = this.inputs; _i < _a.length; _i++) {
@@ -92240,10 +92222,12 @@ var NodeMaterialBlock = /** @class */ (function () {
     };
     /** @hidden */
     NodeMaterialBlock.prototype._deserialize = function (serializationObject, scene, rootUrl) {
+        var _a;
         this.name = serializationObject.name;
         this.comments = serializationObject.comments;
         this.visibleInInspector = !!serializationObject.visibleInInspector;
         this.visibleOnFrame = !!serializationObject.visibleOnFrame;
+        this._target = (_a = serializationObject.target) !== null && _a !== void 0 ? _a : this.target;
         this._deserializePortDisplayNamesAndExposedOnFrame(serializationObject);
     };
     NodeMaterialBlock.prototype._deserializePortDisplayNamesAndExposedOnFrame = function (serializationObject) {
@@ -202600,6 +202584,10 @@ var WebXRControllerPointerSelection = /** @class */ (function (_super) {
         discMesh.parent = controllerData.selectionMesh;
         var timer = 0;
         var downTriggered = false;
+        var pointerEventInit = {
+            pointerId: controllerData.id,
+            pointerType: "xr",
+        };
         controllerData.onFrameObserver = this._xrSessionManager.onXRFrameObservable.add(function () {
             if (!controllerData.pick) {
                 return;
@@ -202613,11 +202601,11 @@ var WebXRControllerPointerSelection = /** @class */ (function (_super) {
                     }
                     timer += _this._scene.getEngine().getDeltaTime();
                     if (timer >= timeToSelect) {
-                        _this._scene.simulatePointerDown(controllerData.pick, { pointerId: controllerData.id });
+                        _this._scene.simulatePointerDown(controllerData.pick, pointerEventInit);
                         downTriggered = true;
                         // pointer up right after down, if disable on touch out
                         if (_this._options.disablePointerUpOnTouchOut) {
-                            _this._scene.simulatePointerUp(controllerData.pick, { pointerId: controllerData.id });
+                            _this._scene.simulatePointerUp(controllerData.pick, pointerEventInit);
                         }
                         discMesh.isVisible = false;
                     }
@@ -202629,7 +202617,7 @@ var WebXRControllerPointerSelection = /** @class */ (function (_super) {
                 else {
                     if (downTriggered) {
                         if (!_this._options.disablePointerUpOnTouchOut) {
-                            _this._scene.simulatePointerUp(controllerData.pick, { pointerId: controllerData.id });
+                            _this._scene.simulatePointerUp(controllerData.pick, pointerEventInit);
                         }
                     }
                     downTriggered = false;
@@ -202640,7 +202628,7 @@ var WebXRControllerPointerSelection = /** @class */ (function (_super) {
                 downTriggered = false;
                 timer = 0;
             }
-            _this._scene.simulatePointerMove(controllerData.pick, { pointerId: controllerData.id });
+            _this._scene.simulatePointerMove(controllerData.pick, pointerEventInit);
             oldPick = controllerData.pick;
         });
         if (this._options.renderingGroupId !== undefined) {
@@ -202649,7 +202637,7 @@ var WebXRControllerPointerSelection = /** @class */ (function (_super) {
         if (xrController) {
             xrController.onDisposeObservable.addOnce(function () {
                 if (controllerData.pick && !_this._options.disablePointerUpOnTouchOut && downTriggered) {
-                    _this._scene.simulatePointerUp(controllerData.pick, { pointerId: controllerData.id });
+                    _this._scene.simulatePointerUp(controllerData.pick, pointerEventInit);
                 }
                 discMesh.dispose();
             });
@@ -202659,24 +202647,28 @@ var WebXRControllerPointerSelection = /** @class */ (function (_super) {
         var _this = this;
         var controllerData = this._controllers[xrController.uniqueId];
         var downTriggered = false;
+        var pointerEventInit = {
+            pointerId: controllerData.id,
+            pointerType: "xr",
+        };
         controllerData.onFrameObserver = this._xrSessionManager.onXRFrameObservable.add(function () {
             if (!controllerData.pick || (_this._options.disablePointerUpOnTouchOut && downTriggered)) {
                 return;
             }
             if (!downTriggered) {
-                _this._scene.simulatePointerDown(controllerData.pick, { pointerId: controllerData.id });
+                _this._scene.simulatePointerDown(controllerData.pick, pointerEventInit);
                 downTriggered = true;
                 if (_this._options.disablePointerUpOnTouchOut) {
-                    _this._scene.simulatePointerUp(controllerData.pick, { pointerId: controllerData.id });
+                    _this._scene.simulatePointerUp(controllerData.pick, pointerEventInit);
                 }
             }
             else {
-                _this._scene.simulatePointerMove(controllerData.pick, { pointerId: controllerData.id });
+                _this._scene.simulatePointerMove(controllerData.pick, pointerEventInit);
             }
         });
         xrController.onDisposeObservable.addOnce(function () {
             if (controllerData.pick && downTriggered && !_this._options.disablePointerUpOnTouchOut) {
-                _this._scene.simulatePointerUp(controllerData.pick, { pointerId: controllerData.id });
+                _this._scene.simulatePointerUp(controllerData.pick, pointerEventInit);
             }
         });
     };
@@ -202686,11 +202678,15 @@ var WebXRControllerPointerSelection = /** @class */ (function (_super) {
         if (this._options.forceGazeMode) {
             return this._attachGazeMode(xrController);
         }
+        var pointerEventInit = {
+            pointerId: controllerData.id,
+            pointerType: "xr",
+        };
         controllerData.onFrameObserver = this._xrSessionManager.onXRFrameObservable.add(function () {
             controllerData.laserPointer.material.disableLighting = _this.disablePointerLighting;
             controllerData.selectionMesh.material.disableLighting = _this.disableSelectionMeshLighting;
             if (controllerData.pick) {
-                _this._scene.simulatePointerMove(controllerData.pick, { pointerId: controllerData.id });
+                _this._scene.simulatePointerMove(controllerData.pick, pointerEventInit);
             }
         });
         if (xrController.inputSource.gamepad) {
@@ -202707,12 +202703,12 @@ var WebXRControllerPointerSelection = /** @class */ (function (_super) {
                         if (controllerData.pick) {
                             if (_this._options.enablePointerSelectionOnAllControllers || xrController.uniqueId === _this._attachedController) {
                                 if (pressed) {
-                                    _this._scene.simulatePointerDown(controllerData.pick, { pointerId: controllerData.id });
+                                    _this._scene.simulatePointerDown(controllerData.pick, pointerEventInit);
                                     controllerData.selectionMesh.material.emissiveColor = _this.selectionMeshPickedColor;
                                     controllerData.laserPointer.material.emissiveColor = _this.laserPointerPickedColor;
                                 }
                                 else {
-                                    _this._scene.simulatePointerUp(controllerData.pick, { pointerId: controllerData.id });
+                                    _this._scene.simulatePointerUp(controllerData.pick, pointerEventInit);
                                     controllerData.selectionMesh.material.emissiveColor = _this.selectionMeshDefaultColor;
                                     controllerData.laserPointer.material.emissiveColor = _this.laserPointerDefaultColor;
                                 }
@@ -202739,14 +202735,14 @@ var WebXRControllerPointerSelection = /** @class */ (function (_super) {
             // use the select and squeeze events
             var selectStartListener = function (event) {
                 if (controllerData.xrController && event.inputSource === controllerData.xrController.inputSource && controllerData.pick) {
-                    _this._scene.simulatePointerDown(controllerData.pick, { pointerId: controllerData.id });
+                    _this._scene.simulatePointerDown(controllerData.pick, pointerEventInit);
                     controllerData.selectionMesh.material.emissiveColor = _this.selectionMeshPickedColor;
                     controllerData.laserPointer.material.emissiveColor = _this.laserPointerPickedColor;
                 }
             };
             var selectEndListener = function (event) {
                 if (controllerData.xrController && event.inputSource === controllerData.xrController.inputSource && controllerData.pick) {
-                    _this._scene.simulatePointerUp(controllerData.pick, { pointerId: controllerData.id });
+                    _this._scene.simulatePointerUp(controllerData.pick, pointerEventInit);
                     controllerData.selectionMesh.material.emissiveColor = _this.selectionMeshDefaultColor;
                     controllerData.laserPointer.material.emissiveColor = _this.laserPointerDefaultColor;
                 }

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 1
dist/preview release/babylon.max.js.map


+ 4 - 0
dist/preview release/babylon.module.d.ts

@@ -13903,6 +13903,8 @@ declare module "babylonjs/Materials/Node/nodeMaterialBlock" {
         _outputs: NodeMaterialConnectionPoint[];
         /** @hidden */
         _preparationId: number;
+        /** @hidden */
+        readonly _originalTargetIsNeutral: boolean;
         /**
          * Gets the name of the block
          */
@@ -98485,6 +98487,8 @@ declare module BABYLON {
         _outputs: NodeMaterialConnectionPoint[];
         /** @hidden */
         _preparationId: number;
+        /** @hidden */
+        readonly _originalTargetIsNeutral: boolean;
         /**
          * Gets the name of the block
          */

+ 1 - 1
dist/preview release/glTF2Interface/package.json

@@ -1,7 +1,7 @@
 {
     "name": "babylonjs-gltf2interface",
     "description": "A typescript declaration of babylon's gltf2 inteface.",
-    "version": "5.0.0-alpha.4",
+    "version": "5.0.0-alpha.5",
     "repository": {
         "type": "git",
         "url": "https://github.com/BabylonJS/Babylon.js.git"

+ 2 - 2
dist/preview release/gui/package.json

@@ -4,7 +4,7 @@
     },
     "name": "babylonjs-gui",
     "description": "The Babylon.js GUI library is an extension you can use to generate interactive user interface. It is build on top of the DynamicTexture.",
-    "version": "5.0.0-alpha.4",
+    "version": "5.0.0-alpha.5",
     "repository": {
         "type": "git",
         "url": "https://github.com/BabylonJS/Babylon.js.git"
@@ -28,7 +28,7 @@
     ],
     "license": "Apache-2.0",
     "dependencies": {
-        "babylonjs": "5.0.0-alpha.4"
+        "babylonjs": "5.0.0-alpha.5"
     },
     "engines": {
         "node": "*"

+ 7 - 7
dist/preview release/inspector/package.json

@@ -4,7 +4,7 @@
     },
     "name": "babylonjs-inspector",
     "description": "The Babylon.js inspector.",
-    "version": "5.0.0-alpha.4",
+    "version": "5.0.0-alpha.5",
     "repository": {
         "type": "git",
         "url": "https://github.com/BabylonJS/Babylon.js.git"
@@ -29,12 +29,12 @@
     ],
     "license": "Apache-2.0",
     "dependencies": {
-        "babylonjs": "5.0.0-alpha.4",
-        "babylonjs-gui": "5.0.0-alpha.4",
-        "babylonjs-loaders": "5.0.0-alpha.4",
-        "babylonjs-materials": "5.0.0-alpha.4",
-        "babylonjs-serializers": "5.0.0-alpha.4",
-        "babylonjs-gltf2interface": "5.0.0-alpha.4"
+        "babylonjs": "5.0.0-alpha.5",
+        "babylonjs-gui": "5.0.0-alpha.5",
+        "babylonjs-loaders": "5.0.0-alpha.5",
+        "babylonjs-materials": "5.0.0-alpha.5",
+        "babylonjs-serializers": "5.0.0-alpha.5",
+        "babylonjs-gltf2interface": "5.0.0-alpha.5"
     },
     "peerDependencies": {
         "@types/react": ">=16.7.3",

+ 3 - 3
dist/preview release/loaders/package.json

@@ -4,7 +4,7 @@
     },
     "name": "babylonjs-loaders",
     "description": "The Babylon.js file loaders library is an extension you can use to load different 3D file types into a Babylon scene.",
-    "version": "5.0.0-alpha.4",
+    "version": "5.0.0-alpha.5",
     "repository": {
         "type": "git",
         "url": "https://github.com/BabylonJS/Babylon.js.git"
@@ -28,8 +28,8 @@
     ],
     "license": "Apache-2.0",
     "dependencies": {
-        "babylonjs-gltf2interface": "5.0.0-alpha.4",
-        "babylonjs": "5.0.0-alpha.4"
+        "babylonjs-gltf2interface": "5.0.0-alpha.5",
+        "babylonjs": "5.0.0-alpha.5"
     },
     "engines": {
         "node": "*"

+ 2 - 2
dist/preview release/materialsLibrary/package.json

@@ -4,7 +4,7 @@
     },
     "name": "babylonjs-materials",
     "description": "The Babylon.js materials library is a collection of advanced materials to be used in a Babylon.js scene.",
-    "version": "5.0.0-alpha.4",
+    "version": "5.0.0-alpha.5",
     "repository": {
         "type": "git",
         "url": "https://github.com/BabylonJS/Babylon.js.git"
@@ -28,7 +28,7 @@
     ],
     "license": "Apache-2.0",
     "dependencies": {
-        "babylonjs": "5.0.0-alpha.4"
+        "babylonjs": "5.0.0-alpha.5"
     },
     "engines": {
         "node": "*"

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 1
dist/preview release/nodeEditor/babylon.nodeEditor.js


+ 2 - 3
dist/preview release/nodeEditor/babylon.nodeEditor.max.js

@@ -61363,14 +61363,13 @@ var GeneralPropertyTabComponent = /** @class */ (function (_super) {
                             }
                             return true;
                         } }),
-                (this.props.block.target === babylonjs_Materials_Node_nodeMaterialDecorator__WEBPACK_IMPORTED_MODULE_10__["NodeMaterialBlockTargets"].Neutral || this.props.block._modifiedTarget) &&
+                (this.props.block._originalTargetIsNeutral) &&
                     react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_sharedComponents_optionsLineComponent__WEBPACK_IMPORTED_MODULE_9__["OptionsLineComponent"], { label: "Target", options: targetOptions, target: this.props.block, propertyName: "target", onSelect: function (value) {
-                            _this.props.block._modifiedTarget = true;
                             _this.forceUpdate();
                             _this.props.globalState.onUpdateRequiredObservable.notifyObservers();
                             _this.props.globalState.onRebuildRequiredObservable.notifyObservers();
                         } }),
-                (this.props.block.target !== babylonjs_Materials_Node_nodeMaterialDecorator__WEBPACK_IMPORTED_MODULE_10__["NodeMaterialBlockTargets"].Neutral && !this.props.block._modifiedTarget) &&
+                (!this.props.block._originalTargetIsNeutral) &&
                     react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_sharedComponents_textLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextLineComponent"], { label: "Type", value: babylonjs_Materials_Node_nodeMaterialDecorator__WEBPACK_IMPORTED_MODULE_10__["NodeMaterialBlockTargets"][this.props.block.target] }),
                 react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_sharedComponents_textLineComponent__WEBPACK_IMPORTED_MODULE_4__["TextLineComponent"], { label: "Type", value: this.props.block.getClassName() }),
                 react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_sharedComponents_textInputLineComponent__WEBPACK_IMPORTED_MODULE_3__["TextInputLineComponent"], { globalState: this.props.globalState, label: "Comments", propertyName: "comments", target: this.props.block, onChange: function () { return _this.props.globalState.onUpdateRequiredObservable.notifyObservers(); } }))));

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 1
dist/preview release/nodeEditor/babylon.nodeEditor.max.js.map


+ 2 - 2
dist/preview release/nodeEditor/package.json

@@ -4,14 +4,14 @@
     },
     "name": "babylonjs-node-editor",
     "description": "The Babylon.js node material editor.",
-    "version": "5.0.0-alpha.4",
+    "version": "5.0.0-alpha.5",
     "repository": {
         "type": "git",
         "url": "https://github.com/BabylonJS/Babylon.js.git"
     },
     "license": "Apache-2.0",
     "dependencies": {
-        "babylonjs": "5.0.0-alpha.4"
+        "babylonjs": "5.0.0-alpha.5"
     },
     "files": [
         "babylon.nodeEditor.max.js.map",

+ 1 - 1
dist/preview release/package.json

@@ -7,7 +7,7 @@
     ],
     "name": "babylonjs",
     "description": "Babylon.js is a JavaScript 3D engine based on webgl.",
-    "version": "5.0.0-alpha.4",
+    "version": "5.0.0-alpha.5",
     "repository": {
         "type": "git",
         "url": "https://github.com/BabylonJS/Babylon.js.git"

+ 2 - 2
dist/preview release/postProcessesLibrary/package.json

@@ -4,7 +4,7 @@
     },
     "name": "babylonjs-post-process",
     "description": "The Babylon.js materials library is a collection of advanced materials to be used in a Babylon.js scene.",
-    "version": "5.0.0-alpha.4",
+    "version": "5.0.0-alpha.5",
     "repository": {
         "type": "git",
         "url": "https://github.com/BabylonJS/Babylon.js.git"
@@ -28,7 +28,7 @@
     ],
     "license": "Apache-2.0",
     "dependencies": {
-        "babylonjs": "5.0.0-alpha.4"
+        "babylonjs": "5.0.0-alpha.5"
     },
     "engines": {
         "node": "*"

+ 2 - 2
dist/preview release/proceduralTexturesLibrary/package.json

@@ -4,7 +4,7 @@
     },
     "name": "babylonjs-procedural-textures",
     "description": "The Babylon.js materials library is a collection of advanced materials to be used in a Babylon.js scene.",
-    "version": "5.0.0-alpha.4",
+    "version": "5.0.0-alpha.5",
     "repository": {
         "type": "git",
         "url": "https://github.com/BabylonJS/Babylon.js.git"
@@ -28,7 +28,7 @@
     ],
     "license": "Apache-2.0",
     "dependencies": {
-        "babylonjs": "5.0.0-alpha.4"
+        "babylonjs": "5.0.0-alpha.5"
     },
     "engines": {
         "node": "*"

+ 3 - 3
dist/preview release/serializers/package.json

@@ -4,7 +4,7 @@
     },
     "name": "babylonjs-serializers",
     "description": "The Babylon.js serializers library is an extension you can use to serialize Babylon scenes.",
-    "version": "5.0.0-alpha.4",
+    "version": "5.0.0-alpha.5",
     "repository": {
         "type": "git",
         "url": "https://github.com/BabylonJS/Babylon.js.git"
@@ -28,8 +28,8 @@
     ],
     "license": "Apache-2.0",
     "dependencies": {
-        "babylonjs": "5.0.0-alpha.4",
-        "babylonjs-gltf2interface": "5.0.0-alpha.4"
+        "babylonjs": "5.0.0-alpha.5",
+        "babylonjs-gltf2interface": "5.0.0-alpha.5"
     },
     "engines": {
         "node": "*"

+ 4 - 0
dist/preview release/viewer/babylon.module.d.ts

@@ -13903,6 +13903,8 @@ declare module "babylonjs/Materials/Node/nodeMaterialBlock" {
         _outputs: NodeMaterialConnectionPoint[];
         /** @hidden */
         _preparationId: number;
+        /** @hidden */
+        readonly _originalTargetIsNeutral: boolean;
         /**
          * Gets the name of the block
          */
@@ -98485,6 +98487,8 @@ declare module BABYLON {
         _outputs: NodeMaterialConnectionPoint[];
         /** @hidden */
         _preparationId: number;
+        /** @hidden */
+        readonly _originalTargetIsNeutral: boolean;
         /**
          * Gets the name of the block
          */

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 4 - 4
dist/preview release/viewer/babylon.viewer.js


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 1 - 1
dist/preview release/viewer/babylon.viewer.max.js


+ 1 - 1
package.json

@@ -7,7 +7,7 @@
     ],
     "name": "babylonjs",
     "description": "Babylon.js is a JavaScript 3D engine based on webgl.",
-    "version": "5.0.0-alpha.4",
+    "version": "5.0.0-alpha.5",
     "repository": {
         "type": "git",
         "url": "https://github.com/BabylonJS/Babylon.js.git"

+ 2 - 2
src/Engines/thinEngine.ts

@@ -167,14 +167,14 @@ export class ThinEngine {
      */
     // Not mixed with Version for tooling purpose.
     public static get NpmPackage(): string {
-        return "babylonjs@5.0.0-alpha.4";
+        return "babylonjs@5.0.0-alpha.5";
     }
 
     /**
      * Returns the current version of the framework
      */
     public static get Version(): string {
-        return "5.0.0-alpha.4";
+        return "5.0.0-alpha.5";
     }
 
     /**