Skip to content

Commit cd2ff62

Browse files
committed
fix: remove skeleton helper which was causing them flying for ALL bedrock entities
fixes #270
1 parent fa36ed2 commit cd2ff62

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

renderer/viewer/three/entity/EntityMesh.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -527,12 +527,6 @@ export class EntityMesh {
527527
debugFlags)
528528
mesh.name = `geometry_${name}`
529529
this.mesh.add(mesh)
530-
531-
const skeletonHelper = new THREE.SkeletonHelper(mesh)
532-
//@ts-expect-error
533-
skeletonHelper.material.linewidth = 2
534-
skeletonHelper.visible = false
535-
this.mesh.add(skeletonHelper)
536530
}
537531
debugFlags.type = 'bedrock'
538532
}

0 commit comments

Comments
 (0)