@galacean/effects-core 2.0.0-alpha.34 → 2.0.0-alpha.35

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.0.0-alpha.34
6
+ * Version: v2.0.0-alpha.35
7
7
  */
8
8
 
9
9
  'use strict';
@@ -17550,8 +17550,8 @@ exports.ParticleSystem = /*#__PURE__*/ function(Component) {
17550
17550
  }
17551
17551
  }
17552
17552
  this.renderer = new ParticleSystemRenderer(this.engine, particleMeshProps, trailMeshProps);
17553
+ this.renderer.item = this.item;
17553
17554
  this.meshes = this.renderer.meshes;
17554
- // this.item = vfxItem;
17555
17555
  var interaction = props.interaction;
17556
17556
  if (interaction) {
17557
17557
  var _interaction_radius;
@@ -19500,7 +19500,7 @@ function compareTracks(a, b) {
19500
19500
  this.items.length = 0;
19501
19501
  if (this.item.composition) {
19502
19502
  var assetLoader = this.item.engine.assetLoader;
19503
- var itemProps = this.item.props.items ? this.item.props.items : [];
19503
+ var itemProps = this.data.items ? this.data.items : [];
19504
19504
  for(var i = 0; i < itemProps.length; i++){
19505
19505
  var item = void 0;
19506
19506
  var itemData = itemProps[i];
@@ -24740,7 +24740,6 @@ var listOrder = 0;
24740
24740
  if (!this.refCompositionProps.has(refId)) {
24741
24741
  this.refCompositionProps.set(refId, ref);
24742
24742
  }
24743
- itemProps.items = ref.items;
24744
24743
  }
24745
24744
  items.push(itemProps);
24746
24745
  }
@@ -27632,7 +27631,7 @@ registerPlugin("sprite", SpriteLoader, exports.VFXItem, true);
27632
27631
  registerPlugin("particle", ParticleLoader, exports.VFXItem, true);
27633
27632
  registerPlugin("cal", CalculateLoader, exports.VFXItem, true);
27634
27633
  registerPlugin("interact", InteractLoader, exports.VFXItem, true);
27635
- var version = "2.0.0-alpha.34";
27634
+ var version = "2.0.0-alpha.35";
27636
27635
  logger.info("Core version: " + version + ".");
27637
27636
 
27638
27637
  exports.AbstractPlugin = AbstractPlugin;