@galacean/effects-plugin-editor-gizmo 2.0.2 → 2.0.3

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.0.2
6
+ * Version: v2.0.3
7
7
  */
8
8
 
9
9
  'use strict';
@@ -3124,7 +3124,6 @@ exports.GizmoComponent = /*#__PURE__*/ function(RendererComponent1) {
3124
3124
  if (gizmoSubType === exports.GizmoSubType.particleEmitter) {
3125
3125
  if (this.targetItem && item.content) {
3126
3126
  this.mat = this.targetItem.transform.getWorldMatrix();
3127
- //@ts-expect-error
3128
3127
  item.content.material.setMatrix("u_model", this.mat);
3129
3128
  }
3130
3129
  if (this.wireframeMesh && this.targetItem) {
@@ -3243,7 +3242,6 @@ exports.GizmoComponent = /*#__PURE__*/ function(RendererComponent1) {
3243
3242
  targetTransform1.setPosition(newPos1.x, newPos1.y, newPos1.z);
3244
3243
  }
3245
3244
  this.mat = targetTransform1.getWorldMatrix();
3246
- //@ts-expect-error
3247
3245
  item.content.material.setMatrix("u_model", targetTransform1.getWorldMatrix());
3248
3246
  }
3249
3247
  }
@@ -3713,7 +3711,7 @@ var EditorGizmoPlugin = /*#__PURE__*/ function(AbstractPlugin) {
3713
3711
  }(EFFECTS.AbstractPlugin);
3714
3712
 
3715
3713
  EFFECTS.registerPlugin("editor-gizmo", EditorGizmoPlugin, EFFECTS.VFXItem);
3716
- var version = "2.0.2";
3714
+ var version = "2.0.3";
3717
3715
  EFFECTS.logger.info("Plugin editor gizmo version: " + version + ".");
3718
3716
  if (version !== EFFECTS__namespace.version) {
3719
3717
  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!");