@onerjs/core 8.54.6 → 8.54.7
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/Meshes/mesh.pure.js +7 -1
- package/Meshes/mesh.pure.js.map +1 -1
- package/package.json +1 -1
package/Meshes/mesh.pure.js
CHANGED
|
@@ -2682,6 +2682,12 @@ export class Mesh extends AbstractMesh {
|
|
|
2682
2682
|
if (internalDataInfo._onBetweenPassObservable) {
|
|
2683
2683
|
internalDataInfo._onBetweenPassObservable.clear();
|
|
2684
2684
|
}
|
|
2685
|
+
if (internalDataInfo._onMeshReadyObserverAdded) {
|
|
2686
|
+
internalDataInfo._onMeshReadyObserverAdded = null;
|
|
2687
|
+
}
|
|
2688
|
+
if (this.onMeshReadyObservable) {
|
|
2689
|
+
this.onMeshReadyObservable.clear();
|
|
2690
|
+
}
|
|
2685
2691
|
// Sources
|
|
2686
2692
|
if (this._scene.useClonedMeshMap) {
|
|
2687
2693
|
if (internalDataInfo.meshMap) {
|
|
@@ -2717,7 +2723,7 @@ export class Mesh extends AbstractMesh {
|
|
|
2717
2723
|
this._onBeforeDraw = null;
|
|
2718
2724
|
if (this._onBeforeDrawObserver) {
|
|
2719
2725
|
this._onBeforeDrawObserver.remove();
|
|
2720
|
-
this._onBeforeDrawObserver
|
|
2726
|
+
this._onBeforeDrawObserver = null;
|
|
2721
2727
|
}
|
|
2722
2728
|
super.dispose(doNotRecurse, disposeMaterialAndTextures);
|
|
2723
2729
|
}
|