zakeke-configurator-react 0.0.172 → 0.0.173
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/index.js +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -28990,6 +28990,7 @@ var MeshDesignManager = /*#__PURE__*/function () {
|
|
|
28990
28990
|
_defineProperty(this, "_meshSide", null);
|
|
28991
28991
|
// mesh - model side connection
|
|
28992
28992
|
_defineProperty(this, "_side", null);
|
|
28993
|
+
_defineProperty(this, "_isDisposed", false);
|
|
28993
28994
|
_defineProperty(this, "_baseWidth", MeshDesignManager.DEFAULT_SIZE);
|
|
28994
28995
|
_defineProperty(this, "_baseHeight", MeshDesignManager.DEFAULT_SIZE);
|
|
28995
28996
|
_defineProperty(this, "_textureWidth", MeshDesignManager.DEFAULT_SIZE);
|
|
@@ -29211,6 +29212,7 @@ var MeshDesignManager = /*#__PURE__*/function () {
|
|
|
29211
29212
|
}, {
|
|
29212
29213
|
key: "dispose",
|
|
29213
29214
|
value: function dispose() {
|
|
29215
|
+
this._isDisposed = true;
|
|
29214
29216
|
if (this._customizer) {
|
|
29215
29217
|
this._customizer.clearMemoryForIOS();
|
|
29216
29218
|
this._customizer = null;
|
|
@@ -31106,7 +31108,7 @@ var MeshDesignManager = /*#__PURE__*/function () {
|
|
|
31106
31108
|
return _regeneratorRuntime().wrap(function _callee31$(_context31) {
|
|
31107
31109
|
while (1) switch (_context31.prev = _context31.next) {
|
|
31108
31110
|
case 0:
|
|
31109
|
-
if (!(!this._originalMeshLightmapTexture || !this._outerShadowTexture)) {
|
|
31111
|
+
if (!(!this._originalMeshLightmapTexture || !this._outerShadowTexture || this._isDisposed)) {
|
|
31110
31112
|
_context31.next = 2;
|
|
31111
31113
|
break;
|
|
31112
31114
|
}
|