浏览代码

Update C2D preview build

nockawa 8 年之前
父节点
当前提交
3efafb6b88

+ 3 - 2
dist/preview release/canvas2D/babylon.canvas2d.js

@@ -13473,8 +13473,9 @@ var BABYLON;
             }
             _this = _super.call(this, settings) || this;
             _this.texture = texture;
-            _this.texture.wrapU = BABYLON.Texture.CLAMP_ADDRESSMODE;
-            _this.texture.wrapV = BABYLON.Texture.CLAMP_ADDRESSMODE;
+            // This is removed to let the user the possibility to setup the addressing mode he wants
+            //this.texture.wrapU = Texture.CLAMP_ADDRESSMODE;
+            //this.texture.wrapV = Texture.CLAMP_ADDRESSMODE;
             _this._useSize = false;
             _this._spriteSize = (settings.spriteSize != null) ? settings.spriteSize.clone() : null;
             _this._spriteLocation = (settings.spriteLocation != null) ? settings.spriteLocation.clone() : new BABYLON.Vector2(0, 0);

文件差异内容过多而无法显示
+ 5 - 5
dist/preview release/canvas2D/babylon.canvas2d.min.js