Skip to content

Commit

Permalink
return currentMeshName reset
Browse files Browse the repository at this point in the history
  • Loading branch information
unclearriw committed Apr 2, 2021
1 parent 1585da7 commit d4bb2c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Spine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ namespace pixi_spine {
slot.currentMesh.visible = false;
slot.currentMesh = null;
slot.currentMeshId = undefined;
slot.currentMeshName = undefined;
}
let ar = region as core.TextureAtlasRegion;
if (!slot.currentSpriteName || slot.currentSpriteName !== ar.name) {
Expand Down

0 comments on commit d4bb2c6

Please sign in to comment.