Geometry Nodes: Blur Attributes: Rotation data type support #118029

Open
Iliya Katushenock wants to merge 3 commits from mod_moder/blender:blur_rotation into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 6 additions and 1 deletions

View File

@ -489,7 +489,12 @@ static void node_rna(StructRNA *srna)
[](bContext * /*C*/, PointerRNA * /*ptr*/, PropertyRNA * /*prop*/, bool *r_free) {
*r_free = true;
return enum_items_filter(rna_enum_attribute_type_items, [](const EnumPropertyItem &item) {
return ELEM(item.value, CD_PROP_FLOAT, CD_PROP_FLOAT3, CD_PROP_COLOR, CD_PROP_INT32);
return ELEM(item.value,
CD_PROP_FLOAT,
CD_PROP_FLOAT3,
CD_PROP_COLOR,
CD_PROP_INT32,
CD_PROP_QUATERNION);
});
});
}