@galacean/effects-core 2.6.0-beta.0 → 2.6.0-beta.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.6.0-beta.0
6
+ * Version: v2.6.0-beta.1
7
7
  */
8
8
 
9
9
  'use strict';
@@ -5584,7 +5584,7 @@ var Skeleton = /*#__PURE__*/ function() {
5584
5584
  };
5585
5585
  _proto.addRecordedProperty = function addRecordedProperty(path, className, property, type) {
5586
5586
  var totalPath = path + className + property;
5587
- if (this.pathToObjectIndex.get(totalPath)) {
5587
+ if (this.pathToObjectIndex.get(totalPath) !== undefined) {
5588
5588
  return;
5589
5589
  }
5590
5590
  var targetBone = this.findTarget(path);
@@ -25474,7 +25474,11 @@ exports.SpriteComponent = /*#__PURE__*/ function(BaseRenderComponent) {
25474
25474
  dy
25475
25475
  ]);
25476
25476
  }
25477
- this.time += dt / 1000;
25477
+ this.time = time + dt / 1000;
25478
+ };
25479
+ _proto.onDisable = function onDisable() {
25480
+ BaseRenderComponent.prototype.onDisable.call(this);
25481
+ this.time = 0;
25478
25482
  };
25479
25483
  _proto.onDestroy = function onDestroy() {
25480
25484
  var texture = this.renderer.texture;
@@ -31046,7 +31050,7 @@ function getStandardSpriteContent(sprite, transform) {
31046
31050
  return ret;
31047
31051
  }
31048
31052
 
31049
- var version$1 = "2.6.0-beta.0";
31053
+ var version$1 = "2.6.0-beta.1";
31050
31054
  var v0 = /^(\d+)\.(\d+)\.(\d+)(-(\w+)\.\d+)?$/;
31051
31055
  var standardVersion = /^(\d+)\.(\d+)$/;
31052
31056
  var reverseParticle = false;
@@ -34296,7 +34300,7 @@ registerPlugin("sprite", SpriteLoader, exports.VFXItem);
34296
34300
  registerPlugin("particle", ParticleLoader, exports.VFXItem);
34297
34301
  registerPlugin("cal", CalculateLoader, exports.VFXItem);
34298
34302
  registerPlugin("interact", InteractLoader, exports.VFXItem);
34299
- var version = "2.6.0-beta.0";
34303
+ var version = "2.6.0-beta.1";
34300
34304
  logger.info("Core version: " + version + ".");
34301
34305
 
34302
34306
  exports.AbstractPlugin = AbstractPlugin;