Merge branch 'blender2.7'
This commit is contained in:
@@ -251,6 +251,9 @@ void Attribute::add_with_weight(void *dst, void *src, float weight)
|
||||
else if (same_storage(type, TypeDesc::TypeFloat)) {
|
||||
*((float *)dst) += *((float *)src) * weight;
|
||||
}
|
||||
else if (same_storage(type, TypeFloat2)) {
|
||||
*((float2 *)dst) += *((float2 *)src) * weight;
|
||||
}
|
||||
else if (same_storage(type, TypeDesc::TypeVector)) {
|
||||
*((float4 *)dst) += *((float4 *)src) * weight;
|
||||
}
|
||||
|
Reference in New Issue
Block a user