@galacean/effects-threejs 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 threejs plugin 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';
@@ -7668,9 +7668,10 @@ var MaskProcessor = /*#__PURE__*/ function() {
7668
7668
  return maskMode;
7669
7669
  };
7670
7670
  _proto.drawStencilMask = function drawStencilMask(renderer) {
7671
- var _this_maskable;
7672
- renderer.clear(this.stencilClearAction);
7673
- (_this_maskable = this.maskable) == null ? void 0 : _this_maskable.drawStencilMask(renderer);
7671
+ if (this.maskable) {
7672
+ renderer.clear(this.stencilClearAction);
7673
+ this.maskable.drawStencilMask(renderer);
7674
+ }
7674
7675
  };
7675
7676
  return MaskProcessor;
7676
7677
  }();
@@ -31648,7 +31649,7 @@ registerPlugin("sprite", SpriteLoader, exports.VFXItem);
31648
31649
  registerPlugin("particle", ParticleLoader, exports.VFXItem);
31649
31650
  registerPlugin("cal", CalculateLoader, exports.VFXItem);
31650
31651
  registerPlugin("interact", InteractLoader, exports.VFXItem);
31651
- var version$1 = "2.4.1-alpha.0";
31652
+ var version$1 = "2.4.1-alpha.1";
31652
31653
  logger.info("Core version: " + version$1 + ".");
31653
31654
 
31654
31655
  var _obj;
@@ -33250,7 +33251,7 @@ setMaxSpriteMeshItemCount(8);
33250
33251
  */ Mesh.create = function(engine, props) {
33251
33252
  return new ThreeMesh(engine, props);
33252
33253
  };
33253
- var version = "2.4.1-alpha.0";
33254
+ var version = "2.4.1-alpha.1";
33254
33255
  logger.info("THREEJS plugin version: " + version + ".");
33255
33256
 
33256
33257
  exports.AbstractPlugin = AbstractPlugin;