Skip to content

Commit

Permalink
Fixed position probe debug visualisation toggling (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusLongmuir authored Nov 28, 2023
1 parent 6b7b0b7 commit 349959a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/mml-web/src/elements/ChatProbe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ export class ChatProbe extends TransformableElement {
private clearDebugVisualisation() {
if (this.debugMesh) {
this.debugMesh.removeFromParent();
this.debugMesh = null;
}
}

Expand Down
1 change: 1 addition & 0 deletions packages/mml-web/src/elements/PositionProbe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ export class PositionProbe extends TransformableElement {
private clearDebugVisualisation() {
if (this.debugMesh) {
this.debugMesh.removeFromParent();
this.debugMesh = null;
}
}

Expand Down

0 comments on commit 349959a

Please sign in to comment.