@galacean/engine-core 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 +11 -0
- package/dist/main.js.map +1 -1
- package/dist/miniprogram.js +11 -0
- package/dist/module.js +11 -0
- package/dist/module.js.map +1 -1
- package/package.json +3 -3
package/dist/main.js
CHANGED
|
@@ -12967,6 +12967,7 @@ var VertexChangedFlags;
|
|
|
12967
12967
|
var mesh = this._mesh;
|
|
12968
12968
|
if (mesh && !mesh.destroyed) {
|
|
12969
12969
|
mesh._addRefCount(-1);
|
|
12970
|
+
mesh._updateFlagManager.removeListener(this._onMeshChanged);
|
|
12970
12971
|
this._mesh = null;
|
|
12971
12972
|
}
|
|
12972
12973
|
};
|
|
@@ -13265,6 +13266,7 @@ var rePropName = RegExp(// Match anything that isn't a dot or bracket.
|
|
|
13265
13266
|
(_this__jointTexture = this._jointTexture) == null ? void 0 : _this__jointTexture.destroy();
|
|
13266
13267
|
this._jointTexture = new Texture2D(engine, 4, jointCount, exports.TextureFormat.R32G32B32A32, false);
|
|
13267
13268
|
this._jointTexture.filterMode = exports.TextureFilterMode.Point;
|
|
13269
|
+
this._jointTexture.isGCIgnored = true;
|
|
13268
13270
|
}
|
|
13269
13271
|
shaderData.disableMacro("O3_JOINTS_NUM");
|
|
13270
13272
|
shaderData.enableMacro("O3_USE_JOINT_TEXTURE");
|
|
@@ -13298,6 +13300,15 @@ var rePropName = RegExp(// Match anything that isn't a dot or bracket.
|
|
|
13298
13300
|
};
|
|
13299
13301
|
/**
|
|
13300
13302
|
* @internal
|
|
13303
|
+
* @override
|
|
13304
|
+
*/ _proto._onDestroy = function _onDestroy() {
|
|
13305
|
+
var _this_rootBone, _this__jointTexture;
|
|
13306
|
+
MeshRenderer.prototype._onDestroy.call(this);
|
|
13307
|
+
(_this_rootBone = this.rootBone) == null ? void 0 : _this_rootBone.transform._updateFlagManager.removeListener(this._onTransformChanged);
|
|
13308
|
+
(_this__jointTexture = this._jointTexture) == null ? void 0 : _this__jointTexture.destroy();
|
|
13309
|
+
};
|
|
13310
|
+
/**
|
|
13311
|
+
* @internal
|
|
13301
13312
|
*/ _proto._cloneTo = function _cloneTo(target) {
|
|
13302
13313
|
MeshRenderer.prototype._cloneTo.call(this, target);
|
|
13303
13314
|
this._blendShapeWeights && (target._blendShapeWeights = this._blendShapeWeights.slice());
|