Skip to content

Commit

Permalink
fix: bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
gong9 committed Oct 24, 2023
1 parent 9978c06 commit 259c282
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hooks/useCreateLine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ const useCreateLine = () => {
countRef.current = 0
pointsRef.current = new Float32Array(3)
pointsArrayRef.current = []
isHasTryPointRef.current = false

if (lineRef.current) {
scene.remove(lineRef.current)
Expand Down

0 comments on commit 259c282

Please sign in to comment.