@galacean/engine 0.9.16 → 0.9.17

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/browser.js CHANGED
@@ -27622,9 +27622,6 @@
27622
27622
  var _this = this, entity = _this.entity, curveOwnerPool = _this._curveOwnerPool;
27623
27623
  var curveLayerOwner = animatorStateData.curveLayerOwner;
27624
27624
  var _animatorState_clip = animatorState.clip, curves = _animatorState_clip._curveBindings;
27625
- if (layerIndex === 0) {
27626
- animatorLayerData.curveOwnerPool = Object.create(null);
27627
- }
27628
27625
  var layerCurveOwnerPool = animatorLayerData.curveOwnerPool;
27629
27626
  for(var i = curves.length - 1; i >= 0; i--){
27630
27627
  var curve = curves[i];
@@ -27634,9 +27631,7 @@
27634
27631
  var property = curve.property;
27635
27632
  var instanceId = targetEntity.instanceId;
27636
27633
  var needRevert = false;
27637
- var baseAnimatorLayerData = this._animatorLayersData[0];
27638
- var baseLayerCurveOwnerPool = baseAnimatorLayerData.curveOwnerPool;
27639
- if (this.animatorController.layers[layerIndex].blendingMode === exports.AnimatorLayerBlendingMode.Additive && layerIndex > 0 && !(baseLayerCurveOwnerPool[instanceId] && baseLayerCurveOwnerPool[instanceId][property])) {
27634
+ if (this.animatorController.layers[layerIndex].blendingMode === exports.AnimatorLayerBlendingMode.Additive && layerIndex > 0) {
27640
27635
  needRevert = true;
27641
27636
  }
27642
27637
  // Get owner
@@ -27658,24 +27653,6 @@
27658
27653
  console.warn("The entity don't have the child entity which path is " + curve.relativePath + ".");
27659
27654
  }
27660
27655
  }
27661
- if (layerIndex === 0) {
27662
- this._needRevertCurveOwners.length = 0;
27663
- for(var i1 = 1, n = this._animatorLayersData.length; i1 < n; ++i1){
27664
- var layerData = this._animatorLayersData[i1];
27665
- var playingCurveOwnerPool = layerData.curveOwnerPool;
27666
- for(var instanceId1 in playingCurveOwnerPool){
27667
- for(var property1 in playingCurveOwnerPool[instanceId1]){
27668
- var layerOwner1 = playingCurveOwnerPool[instanceId1][property1];
27669
- if (this.animatorController.layers[i1].blendingMode === exports.AnimatorLayerBlendingMode.Additive) {
27670
- var baseLayerCurveOwnerPool1 = this._animatorLayersData[0].curveOwnerPool;
27671
- if (!(baseLayerCurveOwnerPool1[instanceId1] && baseLayerCurveOwnerPool1[instanceId1][property1])) {
27672
- this._needRevertCurveOwners.push(layerOwner1.curveOwner);
27673
- }
27674
- }
27675
- }
27676
- }
27677
- }
27678
- }
27679
27656
  };
27680
27657
  _proto._saveAnimatorEventHandlers = function _saveAnimatorEventHandlers(state, animatorStateData) {
27681
27658
  var eventHandlerPool = this._animationEventHandlerPool;
@@ -36412,7 +36389,7 @@
36412
36389
  }));
36413
36390
 
36414
36391
  //@ts-ignore
36415
- var version = "0.9.16";
36392
+ var version = "0.9.17";
36416
36393
  console.log("Galacean engine version: " + version);
36417
36394
  for(var key in CoreObjects){
36418
36395
  Loader.registerClass(key, CoreObjects[key]);