GPv3: Curve to Mesh node #113659

Manually merged
Dalai Felinto merged 86 commits from dfelinto/blender:grease-nodes-curve-to-mesh into main 2023-10-16 11:49:25 +02:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 8919fb8bc7 - Show all commits

View File

@ -5929,7 +5929,7 @@ const char *ui_but_placeholder_get(uiBut *but)
RNA_enum_name(rna_enum_id_type_items, idcode, &placeholder);
placeholder = CTX_IFACE_(BLT_I18NCONTEXT_ID_ID, placeholder);
}
else if (type && RNA_struct_identifier(type) != "UnknownType") {
else if (type && !STREQ(RNA_struct_identifier(type), "UnknownType")) {
placeholder = RNA_struct_ui_name(type);
}
}