Skip to content

Commit ea3c1e5

Browse files
committed
fix color pos array mismatch
1 parent 9ab0e3c commit ea3c1e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compas_ifc/brep/tessellatedbrepobject.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def _read_points_data(self):
3636
def _read_lines_data(self):
3737
positions = self.tessellatedbrep.vertices.tolist()
3838
elements = self.tessellatedbrep.edges.tolist()
39-
colors = [Color(0.1, 0.1, 0.1)] * len(elements)
39+
colors = [Color(0.1, 0.1, 0.1)] * len(positions)
4040
return positions, colors, elements
4141

4242
def _read_frontfaces_data(self):

0 commit comments

Comments
 (0)