@galacean/engine-physics-lite 0.0.0-experimental-0.9-plus.3 → 0.0.0-experimental-0.9-plus.5
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 +15 -2
- package/dist/module.js.map +1 -1
- package/package.json +4 -4
package/dist/miniprogram.js
CHANGED
|
@@ -12842,6 +12842,7 @@ var VertexChangedFlags;
|
|
|
12842
12842
|
var mesh = this._mesh;
|
|
12843
12843
|
if (mesh && !mesh.destroyed) {
|
|
12844
12844
|
mesh._addRefCount(-1);
|
|
12845
|
+
mesh._updateFlagManager.removeListener(this._onMeshChanged);
|
|
12845
12846
|
this._mesh = null;
|
|
12846
12847
|
}
|
|
12847
12848
|
};
|
|
@@ -13137,6 +13138,7 @@ var rePropName = RegExp("[^.[\\]]+" + "|" + // Or match property names within br
|
|
|
13137
13138
|
(_this__jointTexture = this._jointTexture) == null ? void 0 : _this__jointTexture.destroy();
|
|
13138
13139
|
this._jointTexture = new Texture2D(engine, 4, jointCount, exports.TextureFormat.R32G32B32A32, false);
|
|
13139
13140
|
this._jointTexture.filterMode = exports.TextureFilterMode.Point;
|
|
13141
|
+
this._jointTexture.isGCIgnored = true;
|
|
13140
13142
|
}
|
|
13141
13143
|
shaderData.disableMacro("O3_JOINTS_NUM");
|
|
13142
13144
|
shaderData.enableMacro("O3_USE_JOINT_TEXTURE");
|
|
@@ -13170,6 +13172,15 @@ var rePropName = RegExp("[^.[\\]]+" + "|" + // Or match property names within br
|
|
|
13170
13172
|
};
|
|
13171
13173
|
/**
|
|
13172
13174
|
* @internal
|
|
13175
|
+
* @override
|
|
13176
|
+
*/ _proto._onDestroy = function _onDestroy() {
|
|
13177
|
+
var _this_rootBone, _this__jointTexture;
|
|
13178
|
+
MeshRenderer.prototype._onDestroy.call(this);
|
|
13179
|
+
(_this_rootBone = this.rootBone) == null ? void 0 : _this_rootBone.transform._updateFlagManager.removeListener(this._onTransformChanged);
|
|
13180
|
+
(_this__jointTexture = this._jointTexture) == null ? void 0 : _this__jointTexture.destroy();
|
|
13181
|
+
};
|
|
13182
|
+
/**
|
|
13183
|
+
* @internal
|
|
13173
13184
|
*/ _proto._cloneTo = function _cloneTo(target) {
|
|
13174
13185
|
MeshRenderer.prototype._cloneTo.call(this, target);
|
|
13175
13186
|
this._blendShapeWeights && (target._blendShapeWeights = this._blendShapeWeights.slice());
|
|
@@ -29088,7 +29099,9 @@ var KHR_materials_ior = /*#__PURE__*/ function(GLTFExtensionParser) {
|
|
|
29088
29099
|
};
|
|
29089
29100
|
_inherits$1(KHR_materials_ior, GLTFExtensionParser);
|
|
29090
29101
|
var _proto = KHR_materials_ior.prototype;
|
|
29091
|
-
|
|
29102
|
+
/**
|
|
29103
|
+
* @override
|
|
29104
|
+
*/ _proto.additiveParse = function additiveParse(context, material, schema) {
|
|
29092
29105
|
var _schema_ior = schema.ior, ior = _schema_ior === void 0 ? 1.5 : _schema_ior;
|
|
29093
29106
|
material.ior = ior;
|
|
29094
29107
|
};
|
|
@@ -36133,7 +36146,7 @@ function _interopNamespace(e) {
|
|
|
36133
36146
|
}
|
|
36134
36147
|
var CoreObjects__namespace = /*#__PURE__*/ _interopNamespace(CoreObjects);
|
|
36135
36148
|
//@ts-ignore
|
|
36136
|
-
var version = "0.0.0-experimental-0.9-plus.
|
|
36149
|
+
var version = "0.0.0-experimental-0.9-plus.5";
|
|
36137
36150
|
console.log("Galacean engine version: " + version);
|
|
36138
36151
|
for(var key in CoreObjects__namespace){
|
|
36139
36152
|
CoreObjects.Loader.registerClass(key, CoreObjects__namespace[key]);
|