@galacean/engine-physics-physx 0.9.17 → 0.9.18

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.
@@ -22732,7 +22732,7 @@ exports.AnimatorLayerBlendingMode = void 0;
22732
22732
  return;
22733
22733
  }
22734
22734
  if (!state.clip) {
22735
- console.warn("The state named " + stateName + " has no AnimationClip data.");
22735
+ Logger.warn("The state named " + stateName + " has no AnimationClip data.");
22736
22736
  return;
22737
22737
  }
22738
22738
  var animatorLayerData = this._getAnimatorLayerData(playLayerIndex);
@@ -22899,9 +22899,6 @@ exports.AnimatorLayerBlendingMode = void 0;
22899
22899
  //@todo: There is performance waste here, which will be handled together with organizing AnimatorStateData later. The logic is changing from runtime to initialization.
22900
22900
  if (needRevert) {
22901
22901
  this._needRevertCurveOwners.push(owner);
22902
- } else {
22903
- var index = this._needRevertCurveOwners.indexOf(owner);
22904
- index > -1 && this._needRevertCurveOwners.splice(index, 1);
22905
22902
  }
22906
22903
  // Get layer owner
22907
22904
  var layerPropertyOwners = (_layerCurveOwnerPool = layerCurveOwnerPool)[_instanceId1 = instanceId] || (_layerCurveOwnerPool[_instanceId1] = Object.create(null));
@@ -22909,7 +22906,7 @@ exports.AnimatorLayerBlendingMode = void 0;
22909
22906
  curveLayerOwner[i] = layerOwner;
22910
22907
  } else {
22911
22908
  curveLayerOwner[i] = null;
22912
- console.warn("The entity don't have the child entity which path is " + curve.relativePath + ".");
22909
+ Logger.warn("The entity don't have the child entity which path is " + curve.relativePath + ".");
22913
22910
  }
22914
22911
  }
22915
22912
  };
@@ -23207,7 +23204,7 @@ exports.AnimatorLayerBlendingMode = void 0;
23207
23204
  return;
23208
23205
  }
23209
23206
  if (!crossState.clip) {
23210
- console.warn("The state named " + name + " has no AnimationClip data.");
23207
+ Logger.warn("The state named " + name + " has no AnimationClip data.");
23211
23208
  return;
23212
23209
  }
23213
23210
  var animatorLayerData = this._getAnimatorLayerData(playLayerIndex);
@@ -23219,12 +23216,12 @@ exports.AnimatorLayerBlendingMode = void 0;
23219
23216
  destPlayData.reset(crossState, animatorStateData, offset);
23220
23217
  switch(layerState){
23221
23218
  case LayerState.Standby:
23219
+ case LayerState.Finished:
23222
23220
  animatorLayerData.layerState = LayerState.FixedCrossFading;
23223
23221
  this._clearCrossData(animatorLayerData);
23224
23222
  this._prepareStandbyCrossFading(animatorLayerData);
23225
23223
  break;
23226
23224
  case LayerState.Playing:
23227
- case LayerState.Finished:
23228
23225
  animatorLayerData.layerState = LayerState.CrossFading;
23229
23226
  this._clearCrossData(animatorLayerData);
23230
23227
  this._prepareCrossFading(animatorLayerData);
@@ -36256,7 +36253,7 @@ function _interopNamespace(e) {
36256
36253
  }
36257
36254
  var CoreObjects__namespace = /*#__PURE__*/ _interopNamespace(CoreObjects);
36258
36255
  //@ts-ignore
36259
- var version = "0.9.17";
36256
+ var version = "0.9.18";
36260
36257
  console.log("Galacean engine version: " + version);
36261
36258
  for(var key in CoreObjects__namespace){
36262
36259
  CoreObjects.Loader.registerClass(key, CoreObjects__namespace[key]);