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 7 additions and 1 deletions
Showing only changes of commit 71feaba657 - Show all commits

View File

@ -1098,7 +1098,13 @@ static char *rna_path_from_ptr_to_property_index_ex(
}
else {
if (is_rna) {
path = BLI_sprintfN("%s%s", propname, index_str);
if (index_dim == 0) {
/* Use direct duplication instead of #BLI_sprintfN because it's faster. */
path = BLI_strdup(propname);
}
else {
path = BLI_sprintfN("%s%s", propname, index_str);
}
}
else {
char propname_esc[MAX_IDPROP_NAME * 2];