@galacean/effects-core 2.4.1-alpha.0 → 2.4.1-alpha.1

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.
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
  * Description: Galacean Effects runtime core for the web
4
4
  * Author: Ant Group CO., Ltd.
5
5
  * Contributors: 燃然,飂兮,十弦,云垣,茂安,意绮
6
- * Version: v2.4.1-alpha.0
6
+ * Version: v2.4.1-alpha.1
7
7
  */
8
8
 
9
9
  'use strict';
@@ -7646,9 +7646,10 @@ var MaskProcessor = /*#__PURE__*/ function() {
7646
7646
  return maskMode;
7647
7647
  };
7648
7648
  _proto.drawStencilMask = function drawStencilMask(renderer) {
7649
- var _this_maskable;
7650
- renderer.clear(this.stencilClearAction);
7651
- (_this_maskable = this.maskable) == null ? void 0 : _this_maskable.drawStencilMask(renderer);
7649
+ if (this.maskable) {
7650
+ renderer.clear(this.stencilClearAction);
7651
+ this.maskable.drawStencilMask(renderer);
7652
+ }
7652
7653
  };
7653
7654
  return MaskProcessor;
7654
7655
  }();
@@ -31626,7 +31627,7 @@ registerPlugin("sprite", SpriteLoader, exports.VFXItem);
31626
31627
  registerPlugin("particle", ParticleLoader, exports.VFXItem);
31627
31628
  registerPlugin("cal", CalculateLoader, exports.VFXItem);
31628
31629
  registerPlugin("interact", InteractLoader, exports.VFXItem);
31629
- var version = "2.4.1-alpha.0";
31630
+ var version = "2.4.1-alpha.1";
31630
31631
  logger.info("Core version: " + version + ".");
31631
31632
 
31632
31633
  exports.AbstractPlugin = AbstractPlugin;