forked from bartvdbraak/blender
Fix T62758: hair curves with UV mapped textures renders wrong.
Differential Revision: https://developer.blender.org/D4562
This commit is contained in:
parent
63cb789551
commit
c4908c8e8c
@ -475,6 +475,8 @@ Attribute *AttributeSet::add(AttributeStandard std, ustring name)
|
||||
else if(curve_mesh) {
|
||||
switch(std) {
|
||||
case ATTR_STD_UV:
|
||||
attr = add(name, TypeFloat2, ATTR_ELEMENT_CURVE);
|
||||
break;
|
||||
case ATTR_STD_GENERATED:
|
||||
attr = add(name, TypeDesc::TypePoint, ATTR_ELEMENT_CURVE);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user