Fix: Matrix socket is always visible #120337

Merged
Hans Goudey merged 1 commits from mod_moder/blender:tmp_fix_matrix_socket into main 2024-04-10 02:30:24 +02:00
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ const EnumPropertyItem *attribute_type_type_with_socket_fn(bContext * /*C*/,
bool generic_attribute_type_supported(const EnumPropertyItem &item)
{
if (item.value == SOCK_MATRIX) {
if (item.value == CD_PROP_FLOAT4X4) {
return U.experimental.use_new_matrix_socket;
}
return ELEM(item.value,