Skip to content

Commit

Permalink
fix: ModleMesh destroy bug (#430)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuoLei1990 authored Aug 10, 2021
1 parent ab0e34a commit 038978e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/mesh/ModelMesh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ export class ModelMesh extends Mesh {
* @internal
*/
_onDestroy(): void {
super.destroy();
super._onDestroy();
this.clearBlendShapes();
}

Expand Down

0 comments on commit 038978e

Please sign in to comment.