Skip to content
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

alpha in vertex color is in vtx_ref #43

Open
janEntikan opened this issue Jul 13, 2019 · 1 comment
Open

alpha in vertex color is in vtx_ref #43

janEntikan opened this issue Jul 13, 2019 · 1 comment

Comments

@janEntikan
Copy link

attributes.append('<RGBA> { %f %f %f 1.0 }' % col[:])

this line should be:

attributes.append('<RGBA> { %f %f %f %f }' % col[:])

or it returns an error

@rdb
Copy link
Collaborator

rdb commented Jul 18, 2019

I think some Blender versions use 4 values and some use 3. It should probably check whether Blender returned 4 values or 3 and adjust the output appropriately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants