David Catuhe 9 years ago
parent
commit
77f988a804

File diff suppressed because it is too large
+ 1 - 1
dist/preview release/babylon.core.js


File diff suppressed because it is too large
+ 1265 - 1265
dist/preview release/babylon.d.ts


File diff suppressed because it is too large
+ 1 - 1
dist/preview release/babylon.js


+ 2 - 0
dist/preview release/babylon.max.js

@@ -7190,6 +7190,8 @@ var BABYLON;
             if (generateDepthBuffer) {
             if (generateDepthBuffer) {
                 texture._depthBuffer = depthBuffer;
                 texture._depthBuffer = depthBuffer;
             }
             }
+            texture._baseWidth = width;
+            texture._baseHeight = height;
             texture._width = width;
             texture._width = width;
             texture._height = height;
             texture._height = height;
             texture.isReady = true;
             texture.isReady = true;

File diff suppressed because it is too large
+ 1 - 1
dist/preview release/babylon.noworker.js


+ 2 - 0
src/babylon.engine.js

@@ -1507,6 +1507,8 @@ var BABYLON;
             if (generateDepthBuffer) {
             if (generateDepthBuffer) {
                 texture._depthBuffer = depthBuffer;
                 texture._depthBuffer = depthBuffer;
             }
             }
+            texture._baseWidth = width;
+            texture._baseHeight = height;
             texture._width = width;
             texture._width = width;
             texture._height = height;
             texture._height = height;
             texture.isReady = true;
             texture.isReady = true;

+ 2 - 0
src/babylon.engine.ts

@@ -1834,6 +1834,8 @@
             if (generateDepthBuffer) {
             if (generateDepthBuffer) {
                 texture._depthBuffer = depthBuffer;
                 texture._depthBuffer = depthBuffer;
             }
             }
+            texture._baseWidth = width;
+            texture._baseHeight = height;
             texture._width = width;
             texture._width = width;
             texture._height = height;
             texture._height = height;
             texture.isReady = true;
             texture.isReady = true;