Skip to content

Commit 4cd29b6

Browse files
committed
missed to add the lineMesh to the container
1 parent 4de71fc commit 4cd29b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

three.js/examples/measure-it.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@
214214
geometry.setAttribute('position',
215215
new THREE.BufferAttribute(new Float32Array(vertices), positionNumComponents));
216216
var lineMesh = new THREE.Line(geometry, material);
217+
container.add(lineMesh);
217218

218219
// update lineMesh
219220
onRenderFcts.push(function () {

0 commit comments

Comments
 (0)