mathutils.Color do not support alpha value in latest 2.79.1 #53540

Closed
opened 2017-12-11 11:33:58 +01:00 by Jose Conseco · 4 comments

import mathutils
mathutils.Color([1,1,1,1])

Will give error, because it is expecting 3 values. But I guess now blender supports vertex, alpha so mathutils.Color should take 4 args?

import mathutils mathutils.Color([1,1,1,1]) Will give error, because it is expecting 3 values. But I guess now blender supports vertex, alpha so mathutils.Color should take 4 args?
Author

Added subscriber: @JoseConseco

Added subscriber: @JoseConseco

Added subscribers: @mont29, @ideasman42, @Sergey

Added subscribers: @mont29, @ideasman42, @Sergey

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sergey Sharybin self-assigned this 2017-12-11 15:27:11 +01:00

Thanks for the report, but it's more a feature request.

Vertex color is not the only place which works with colors, some places will still only work with RGB (i.e. Diffuse color of closure).

Supporting 4 component color would be nice, but is not considered a bug.

However, adding on radars of @ideasman42 and @mont29.

Thanks for the report, but it's more a feature request. Vertex color is not the only place which works with colors, some places will still only work with RGB (i.e. Diffuse color of closure). Supporting 4 component color would be nice, but is not considered a bug. However, adding on radars of @ideasman42 and @mont29.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#53540
No description provided.