@galacean/effects-plugin-editor-gizmo 2.10.0-alpha.0 → 2.10.0-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 player editor gizmo plugin
4
4
  * Author: Ant Group CO., Ltd.
5
5
  * Contributors: 茂安,旻诺
6
- * Version: v2.10.0-alpha.0
6
+ * Version: v2.10.0-alpha.1
7
7
  */
8
8
 
9
9
  'use strict';
@@ -3450,7 +3450,7 @@ exports.GizmoComponent = /*#__PURE__*/ function(RendererComponent1) {
3450
3450
  };
3451
3451
  _proto.createParticleContent = function createParticleContent(item) {
3452
3452
  var _this_item_composition;
3453
- var shape = item.props.content.shape;
3453
+ var shape = item.getComponent(EFFECTS.ParticleSystem).definition.shape;
3454
3454
  var engine = (_this_item_composition = this.item.composition) == null ? void 0 : _this_item_composition.renderer.engine;
3455
3455
  EFFECTS.assertExist(engine);
3456
3456
  this.targetItem = item;
@@ -3724,7 +3724,7 @@ var EditorGizmoPlugin = /*#__PURE__*/ function(Plugin) {
3724
3724
  EFFECTS.registerPlugin("editor-gizmo", EditorGizmoPlugin);
3725
3725
  /**
3726
3726
  * 插件版本号
3727
- */ var version = "2.10.0-alpha.0";
3727
+ */ var version = "2.10.0-alpha.1";
3728
3728
  EFFECTS.logger.info("Plugin editor gizmo version: " + version + ".");
3729
3729
  if (version !== EFFECTS__namespace.version) {
3730
3730
  console.error("注意:请统一 Editor Gizmo 插件与 Player 版本,不统一的版本混用会有不可预知的后果!", "\nAttention: Please ensure the Editor Gizmo plugin is synchronized with the Player version. Mixing and matching incompatible versions may result in unpredictable consequences!");