-
Notifications
You must be signed in to change notification settings - Fork 616
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
in (/vispy/visuals /surface_plot.py) line 129 #2542
Comments
FYI you can link to exact lines and line ranges with a github URL. You can even use a "permalink" and github will show a preview of the code in your comment. Here is what you are referencing: vispy/vispy/visuals/surface_plot.py Lines 121 to 130 in c366456
Let me review the code and see what I think. I feel like this came up in another issue recently. |
Overall I think you're right. However, two things:
Anyway, the mesh converts RGB (3) to RGBA (4) here inside the mesh: vispy/vispy/geometry/meshdata.py Lines 14 to 18 in c366456
I'd appreciate a pull request with changing the |
Shouldn't:
colors = colors.reshape(num_vertices, 3)
be
colors = colors.reshape(num_vertices, 4) ????
The text was updated successfully, but these errors were encountered: