@galacean/engine 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/browser.js +15 -2
- package/dist/browser.min.js +1 -1
- package/dist/main.js +1 -1
- package/dist/miniprogram.js +1 -1
- package/dist/module.js +1 -1
- package/package.json +5 -5
package/dist/browser.js
CHANGED
|
@@ -17576,6 +17576,7 @@
|
|
|
17576
17576
|
var mesh = this._mesh;
|
|
17577
17577
|
if (mesh && !mesh.destroyed) {
|
|
17578
17578
|
mesh._addRefCount(-1);
|
|
17579
|
+
mesh._updateFlagManager.removeListener(this._onMeshChanged);
|
|
17579
17580
|
this._mesh = null;
|
|
17580
17581
|
}
|
|
17581
17582
|
};
|
|
@@ -17871,6 +17872,7 @@
|
|
|
17871
17872
|
(_this__jointTexture = this._jointTexture) == null ? void 0 : _this__jointTexture.destroy();
|
|
17872
17873
|
this._jointTexture = new Texture2D(engine, 4, jointCount, exports.TextureFormat.R32G32B32A32, false);
|
|
17873
17874
|
this._jointTexture.filterMode = exports.TextureFilterMode.Point;
|
|
17875
|
+
this._jointTexture.isGCIgnored = true;
|
|
17874
17876
|
}
|
|
17875
17877
|
shaderData.disableMacro("O3_JOINTS_NUM");
|
|
17876
17878
|
shaderData.enableMacro("O3_USE_JOINT_TEXTURE");
|
|
@@ -17904,6 +17906,15 @@
|
|
|
17904
17906
|
};
|
|
17905
17907
|
/**
|
|
17906
17908
|
* @internal
|
|
17909
|
+
* @override
|
|
17910
|
+
*/ _proto._onDestroy = function _onDestroy() {
|
|
17911
|
+
var _this_rootBone, _this__jointTexture;
|
|
17912
|
+
MeshRenderer.prototype._onDestroy.call(this);
|
|
17913
|
+
(_this_rootBone = this.rootBone) == null ? void 0 : _this_rootBone.transform._updateFlagManager.removeListener(this._onTransformChanged);
|
|
17914
|
+
(_this__jointTexture = this._jointTexture) == null ? void 0 : _this__jointTexture.destroy();
|
|
17915
|
+
};
|
|
17916
|
+
/**
|
|
17917
|
+
* @internal
|
|
17907
17918
|
*/ _proto._cloneTo = function _cloneTo(target) {
|
|
17908
17919
|
MeshRenderer.prototype._cloneTo.call(this, target);
|
|
17909
17920
|
this._blendShapeWeights && (target._blendShapeWeights = this._blendShapeWeights.slice());
|
|
@@ -35979,7 +35990,9 @@
|
|
|
35979
35990
|
};
|
|
35980
35991
|
_inherits(KHR_materials_ior, GLTFExtensionParser);
|
|
35981
35992
|
var _proto = KHR_materials_ior.prototype;
|
|
35982
|
-
|
|
35993
|
+
/**
|
|
35994
|
+
* @override
|
|
35995
|
+
*/ _proto.additiveParse = function additiveParse(context, material, schema) {
|
|
35983
35996
|
var _schema_ior = schema.ior, ior = _schema_ior === void 0 ? 1.5 : _schema_ior;
|
|
35984
35997
|
material.ior = ior;
|
|
35985
35998
|
};
|
|
@@ -36106,7 +36119,7 @@
|
|
|
36106
36119
|
], OasisMaterialsRemap);
|
|
36107
36120
|
|
|
36108
36121
|
//@ts-ignore
|
|
36109
|
-
var version = "0.0.0-experimental-0.9-plus.
|
|
36122
|
+
var version = "0.0.0-experimental-0.9-plus.5";
|
|
36110
36123
|
console.log("Galacean engine version: " + version);
|
|
36111
36124
|
for(var key in CoreObjects){
|
|
36112
36125
|
Loader.registerClass(key, CoreObjects[key]);
|