@awayjs/scene 0.13.249 → 0.13.250

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2400,6 +2400,7 @@ var DisplayObject = /** @class */ (function (_super) {
2400
2400
  var index = this._masks.indexOf(this._scriptMask);
2401
2401
  if (index !== -1) {
2402
2402
  this._masks.splice(index, 1);
2403
+ this._scriptMask.maskMode = false;
2403
2404
  }
2404
2405
  }
2405
2406
  this._scriptMask = mask;
@@ -14878,8 +14879,8 @@ var SceneImage2D = /** @class */ (function (_super) {
14878
14879
  if (!useBlend && this._lastUsedFill !== null) {
14879
14880
  // bitmap was filled plain, go clear TMP to this color too
14880
14881
  renderer.disableClear = false;
14881
- renderer.view.backgroundColor = this._lastUsedFill;
14882
- renderer.view.backgroundAlpha = (this._lastUsedFill >>> 24 & 0xff) / 0xff;
14882
+ renderer.view.backgroundColor = this._lastUsedFill & 0xffffff;
14883
+ renderer.view.backgroundAlpha = this._transparent ? (this._lastUsedFill >>> 24 & 0xff) / 0xff : 1;
14883
14884
  }
14884
14885
  else {
14885
14886
  // we clear TMP and render to it, prepare to composing
@@ -18173,7 +18174,7 @@ var Scene = /** @class */ (function () {
18173
18174
  _awayjs_graphics.MaterialManager.materialClass = _awayjs_materials.MethodMaterial;
18174
18175
  _awayjs_graphics.MaterialManager.textureClass = _awayjs_renderer.ImageTexture2D;
18175
18176
 
18176
- console.debug('AwayJS - Scene - 0.13.249');
18177
+ console.debug('AwayJS - Scene - 0.13.250');
18177
18178
 
18178
18179
  exports.Timeline = Timeline;
18179
18180
  exports.ControllerBase = ControllerBase;