浏览代码

#fixes 586

David Catuhe 10 年之前
父节点
当前提交
8d8e47baaa
共有 64 个文件被更改,包括 81 次插入75 次删除
  1. 3 2
      Exporters/Blender/io_export_babylon.py
  2. 3 2
      dist/preview release - alpha/babylon.2.2.js
  3. 3 0
      dist/preview release - alpha/babylon.2.2.max.js
  4. 3 2
      dist/preview release - alpha/babylon.2.2.noworker.js
  5. 1 1
      src/Actions/babylon.condition.js
  6. 1 1
      src/Actions/babylon.directActions.js
  7. 1 1
      src/Actions/babylon.interpolateValueAction.js
  8. 1 1
      src/Animations/babylon.easing.js
  9. 1 1
      src/Bones/babylon.bone.js
  10. 1 1
      src/Cameras/VR/babylon.vrDeviceOrientationCamera.js
  11. 1 1
      src/Cameras/VR/babylon.webVRCamera.js
  12. 1 1
      src/Cameras/babylon.arcRotateCamera.js
  13. 1 1
      src/Cameras/babylon.camera.js
  14. 1 1
      src/Cameras/babylon.deviceOrientationCamera.js
  15. 1 1
      src/Cameras/babylon.followCamera.js
  16. 1 1
      src/Cameras/babylon.freeCamera.js
  17. 1 1
      src/Cameras/babylon.gamepadCamera.js
  18. 1 1
      src/Cameras/babylon.stereoscopicCameras.js
  19. 1 1
      src/Cameras/babylon.targetCamera.js
  20. 1 1
      src/Cameras/babylon.touchCamera.js
  21. 1 1
      src/Cameras/babylon.virtualJoysticksCamera.js
  22. 1 1
      src/Lights/babylon.directionalLight.js
  23. 1 1
      src/Lights/babylon.hemisphericLight.js
  24. 1 1
      src/Lights/babylon.light.js
  25. 1 1
      src/Lights/babylon.pointLight.js
  26. 1 1
      src/Lights/babylon.spotLight.js
  27. 1 1
      src/Materials/Textures/Procedurals/babylon.customProceduralTexture.js
  28. 1 1
      src/Materials/Textures/Procedurals/babylon.proceduralTexture.js
  29. 1 1
      src/Materials/Textures/Procedurals/babylon.standardProceduralTexture.js
  30. 1 1
      src/Materials/Textures/babylon.cubeTexture.js
  31. 1 1
      src/Materials/Textures/babylon.dynamicTexture.js
  32. 1 1
      src/Materials/Textures/babylon.mirrorTexture.js
  33. 1 1
      src/Materials/Textures/babylon.renderTargetTexture.js
  34. 1 1
      src/Materials/Textures/babylon.texture.js
  35. 1 1
      src/Materials/Textures/babylon.videoTexture.js
  36. 1 1
      src/Materials/babylon.multiMaterial.js
  37. 1 1
      src/Materials/babylon.shaderMaterial.js
  38. 1 1
      src/Materials/babylon.standardMaterial.js
  39. 4 5
      src/Mesh/babylon.abstractMesh.js
  40. 7 6
      src/Mesh/babylon.abstractMesh.ts
  41. 1 1
      src/Mesh/babylon.geometry.js
  42. 1 1
      src/Mesh/babylon.groundMesh.js
  43. 1 1
      src/Mesh/babylon.instancedMesh.js
  44. 1 1
      src/Mesh/babylon.linesMesh.js
  45. 1 1
      src/Mesh/babylon.mesh.js
  46. 1 1
      src/Mesh/babylon.polygonMesh.js
  47. 1 1
      src/PostProcess/babylon.anaglyphPostProcess.js
  48. 1 1
      src/PostProcess/babylon.blackAndWhitePostProcess.js
  49. 1 1
      src/PostProcess/babylon.blurPostProcess.js
  50. 1 1
      src/PostProcess/babylon.colorCorrectionPostProcess.js
  51. 1 1
      src/PostProcess/babylon.convolutionPostProcess.js
  52. 1 1
      src/PostProcess/babylon.displayPassPostProcess.js
  53. 1 1
      src/PostProcess/babylon.filterPostProcess.js
  54. 1 1
      src/PostProcess/babylon.fxaaPostProcess.js
  55. 1 1
      src/PostProcess/babylon.hdrRenderingPipeline.js
  56. 1 1
      src/PostProcess/babylon.lensRenderingPipeline.js
  57. 1 1
      src/PostProcess/babylon.passPostProcess.js
  58. 1 1
      src/PostProcess/babylon.refractionPostProcess.js
  59. 1 1
      src/PostProcess/babylon.ssaoRenderingPipeline.js
  60. 1 1
      src/PostProcess/babylon.stereoscopicInterlacePostProcess.js
  61. 1 1
      src/PostProcess/babylon.volumetricLightScatteringPostProcess.js
  62. 1 1
      src/PostProcess/babylon.vrDistortionCorrectionPostProcess.js
  63. 1 1
      src/Tools/babylon.gamepads.js
  64. 1 1
      src/Tools/babylon.sceneOptimizer.js

+ 3 - 2
Exporters/Blender/io_export_babylon.py

@@ -1207,8 +1207,9 @@ class Light(FCurveAnimatable):
         
         if self.light_type == POINT_LIGHT:
             self.position = light.location
-            if light.data.use_sphere:
-                self.range = light.data.distance            
+            if hasattr(light.data, 'use_sphere'):
+                if light.data.use_sphere:
+                    self.range = light.data.distance            
             
         elif self.light_type == DIRECTIONAL_LIGHT:
             self.position = light.location

文件差异内容过多而无法显示
+ 3 - 2
dist/preview release - alpha/babylon.2.2.js


+ 3 - 0
dist/preview release - alpha/babylon.2.2.max.js

@@ -7639,6 +7639,9 @@ var BABYLON;
                 if (_this._diffPositionForCollisions.length() > BABYLON.Engine.CollisionsEpsilon) {
                     _this.position.addInPlace(_this._diffPositionForCollisions);
                 }
+                if (_this.onCollide && collidedMesh) {
+                    _this.onCollide(collidedMesh);
+                }
             };
             scene.addMesh(this);
         }

文件差异内容过多而无法显示
+ 3 - 2
dist/preview release - alpha/babylon.2.2.noworker.js


+ 1 - 1
src/Actions/babylon.condition.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Actions/babylon.directActions.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Actions/babylon.interpolateValueAction.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Animations/babylon.easing.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Bones/babylon.bone.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Cameras/VR/babylon.vrDeviceOrientationCamera.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Cameras/VR/babylon.webVRCamera.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Cameras/babylon.arcRotateCamera.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Cameras/babylon.camera.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Cameras/babylon.deviceOrientationCamera.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Cameras/babylon.followCamera.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Cameras/babylon.freeCamera.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Cameras/babylon.gamepadCamera.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Cameras/babylon.stereoscopicCameras.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Cameras/babylon.targetCamera.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Cameras/babylon.touchCamera.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Cameras/babylon.virtualJoysticksCamera.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Lights/babylon.directionalLight.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Lights/babylon.hemisphericLight.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Lights/babylon.light.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Lights/babylon.pointLight.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Lights/babylon.spotLight.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Materials/Textures/Procedurals/babylon.customProceduralTexture.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Materials/Textures/Procedurals/babylon.proceduralTexture.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Materials/Textures/Procedurals/babylon.standardProceduralTexture.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Materials/Textures/babylon.cubeTexture.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Materials/Textures/babylon.dynamicTexture.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Materials/Textures/babylon.mirrorTexture.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Materials/Textures/babylon.renderTargetTexture.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Materials/Textures/babylon.texture.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Materials/Textures/babylon.videoTexture.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Materials/babylon.multiMaterial.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Materials/babylon.shaderMaterial.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Materials/babylon.standardMaterial.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 4 - 5
src/Mesh/babylon.abstractMesh.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;
@@ -81,10 +81,9 @@ var BABYLON;
                 if (_this._diffPositionForCollisions.length() > BABYLON.Engine.CollisionsEpsilon) {
                     _this.position.addInPlace(_this._diffPositionForCollisions);
                 }
-				
-				if (_this.onCollide && collidedMesh) {
-					_this.onCollide(collidedMesh);
-				}
+                if (_this.onCollide && collidedMesh) {
+                    _this.onCollide(collidedMesh);
+                }
             };
             scene.addMesh(this);
         }

+ 7 - 6
src/Mesh/babylon.abstractMesh.ts

@@ -80,7 +80,7 @@
         private _oldPositionForCollisions = new Vector3(0, 0, 0);
         private _diffPositionForCollisions = new Vector3(0, 0, 0);
         private _newPositionForCollisions = new Vector3(0, 0, 0);
-		public onCollide: (collidedMesh: AbstractMesh) => void;
+        public onCollide: (collidedMesh: AbstractMesh) => void;
 
         // Attach to bone
         private _meshToBoneReferal: AbstractMesh;
@@ -736,7 +736,7 @@
 
         // Collisions
 
-        public get checkCollisions() : boolean {
+        public get checkCollisions(): boolean {
             return this._checkCollisions;
         }
 
@@ -767,10 +767,10 @@
             if (this._diffPositionForCollisions.length() > Engine.CollisionsEpsilon) {
                 this.position.addInPlace(this._diffPositionForCollisions);
             }
-			
-			if (this.onCollide && collidedMesh) {
-				this.onCollide(collidedMesh);
-			}
+
+            if (this.onCollide && collidedMesh) {
+                this.onCollide(collidedMesh);
+            }
         }
 
         // Submeshes octree
@@ -1007,3 +1007,4 @@
         }
     }
 }
+

+ 1 - 1
src/Mesh/babylon.geometry.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Mesh/babylon.groundMesh.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Mesh/babylon.instancedMesh.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Mesh/babylon.linesMesh.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Mesh/babylon.mesh.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Mesh/babylon.polygonMesh.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/PostProcess/babylon.anaglyphPostProcess.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/PostProcess/babylon.blackAndWhitePostProcess.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/PostProcess/babylon.blurPostProcess.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/PostProcess/babylon.colorCorrectionPostProcess.js

@@ -11,7 +11,7 @@
 //  For explanations on color grading, see here:
 //      http://udn.epicgames.com/Three/ColorGrading.html
 //
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/PostProcess/babylon.convolutionPostProcess.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/PostProcess/babylon.displayPassPostProcess.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/PostProcess/babylon.filterPostProcess.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/PostProcess/babylon.fxaaPostProcess.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/PostProcess/babylon.hdrRenderingPipeline.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/PostProcess/babylon.lensRenderingPipeline.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/PostProcess/babylon.passPostProcess.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/PostProcess/babylon.refractionPostProcess.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/PostProcess/babylon.ssaoRenderingPipeline.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/PostProcess/babylon.stereoscopicInterlacePostProcess.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/PostProcess/babylon.volumetricLightScatteringPostProcess.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/PostProcess/babylon.vrDistortionCorrectionPostProcess.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Tools/babylon.gamepads.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;

+ 1 - 1
src/Tools/babylon.sceneOptimizer.js

@@ -1,4 +1,4 @@
-var __extends = (this && this.__extends) || function (d, b) {
+var __extends = this.__extends || function (d, b) {
     for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
     function __() { this.constructor = d; }
     __.prototype = b.prototype;