Open ZacZhangzhuo opened 8 months ago
https://github.com/compas-dev/compas_view2/blob/07b86048346a18f83ff77c0209be1be8342b686e/src/compas_view2/objects/meshobject.py#L175-L192
There is likely a bug. If you run:
from compas.datastructures import Mesh from compas_view2 import app viewer = app.App() mesh = Mesh.from_polyhedron(12) viewer.add(mesh) viewer.show()
with use_vertex_color enabled, the error will pop up.
use_vertex_color
This might also affect the viewer.
viewer
https://github.com/compas-dev/compas_view2/blob/07b86048346a18f83ff77c0209be1be8342b686e/src/compas_view2/objects/meshobject.py#L175-L192
There is likely a bug. If you run:
with
use_vertex_color
enabled, the error will pop up.This might also affect the
viewer
.