@galacean/engine-physics-physx 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/main.js.map +1 -1
- package/dist/miniprogram.js +2 -25
- package/dist/module.js.map +1 -1
- package/package.json +4 -4
package/dist/miniprogram.js
CHANGED
|
@@ -22881,9 +22881,6 @@ exports.AnimatorLayerBlendingMode = void 0;
|
|
|
22881
22881
|
var _this = this, entity = _this.entity, curveOwnerPool = _this._curveOwnerPool;
|
|
22882
22882
|
var curveLayerOwner = animatorStateData.curveLayerOwner;
|
|
22883
22883
|
var _animatorState_clip = animatorState.clip, curves = _animatorState_clip._curveBindings;
|
|
22884
|
-
if (layerIndex === 0) {
|
|
22885
|
-
animatorLayerData.curveOwnerPool = Object.create(null);
|
|
22886
|
-
}
|
|
22887
22884
|
var layerCurveOwnerPool = animatorLayerData.curveOwnerPool;
|
|
22888
22885
|
for(var i = curves.length - 1; i >= 0; i--){
|
|
22889
22886
|
var curve = curves[i];
|
|
@@ -22893,9 +22890,7 @@ exports.AnimatorLayerBlendingMode = void 0;
|
|
|
22893
22890
|
var property = curve.property;
|
|
22894
22891
|
var instanceId = targetEntity.instanceId;
|
|
22895
22892
|
var needRevert = false;
|
|
22896
|
-
|
|
22897
|
-
var baseLayerCurveOwnerPool = baseAnimatorLayerData.curveOwnerPool;
|
|
22898
|
-
if (this.animatorController.layers[layerIndex].blendingMode === exports.AnimatorLayerBlendingMode.Additive && layerIndex > 0 && !(baseLayerCurveOwnerPool[instanceId] && baseLayerCurveOwnerPool[instanceId][property])) {
|
|
22893
|
+
if (this.animatorController.layers[layerIndex].blendingMode === exports.AnimatorLayerBlendingMode.Additive && layerIndex > 0) {
|
|
22899
22894
|
needRevert = true;
|
|
22900
22895
|
}
|
|
22901
22896
|
// Get owner
|
|
@@ -22917,24 +22912,6 @@ exports.AnimatorLayerBlendingMode = void 0;
|
|
|
22917
22912
|
console.warn("The entity don't have the child entity which path is " + curve.relativePath + ".");
|
|
22918
22913
|
}
|
|
22919
22914
|
}
|
|
22920
|
-
if (layerIndex === 0) {
|
|
22921
|
-
this._needRevertCurveOwners.length = 0;
|
|
22922
|
-
for(var i1 = 1, n = this._animatorLayersData.length; i1 < n; ++i1){
|
|
22923
|
-
var layerData = this._animatorLayersData[i1];
|
|
22924
|
-
var playingCurveOwnerPool = layerData.curveOwnerPool;
|
|
22925
|
-
for(var instanceId1 in playingCurveOwnerPool){
|
|
22926
|
-
for(var property1 in playingCurveOwnerPool[instanceId1]){
|
|
22927
|
-
var layerOwner1 = playingCurveOwnerPool[instanceId1][property1];
|
|
22928
|
-
if (this.animatorController.layers[i1].blendingMode === exports.AnimatorLayerBlendingMode.Additive) {
|
|
22929
|
-
var baseLayerCurveOwnerPool1 = this._animatorLayersData[0].curveOwnerPool;
|
|
22930
|
-
if (!(baseLayerCurveOwnerPool1[instanceId1] && baseLayerCurveOwnerPool1[instanceId1][property1])) {
|
|
22931
|
-
this._needRevertCurveOwners.push(layerOwner1.curveOwner);
|
|
22932
|
-
}
|
|
22933
|
-
}
|
|
22934
|
-
}
|
|
22935
|
-
}
|
|
22936
|
-
}
|
|
22937
|
-
}
|
|
22938
22915
|
};
|
|
22939
22916
|
_proto._saveAnimatorEventHandlers = function _saveAnimatorEventHandlers(state, animatorStateData) {
|
|
22940
22917
|
var eventHandlerPool = this._animationEventHandlerPool;
|
|
@@ -36279,7 +36256,7 @@ function _interopNamespace(e) {
|
|
|
36279
36256
|
}
|
|
36280
36257
|
var CoreObjects__namespace = /*#__PURE__*/ _interopNamespace(CoreObjects);
|
|
36281
36258
|
//@ts-ignore
|
|
36282
|
-
var version = "0.9.
|
|
36259
|
+
var version = "0.9.17";
|
|
36283
36260
|
console.log("Galacean engine version: " + version);
|
|
36284
36261
|
for(var key in CoreObjects__namespace){
|
|
36285
36262
|
CoreObjects.Loader.registerClass(key, CoreObjects__namespace[key]);
|