Merge from 2.5 -r 21285:21515. Thanks Joshua!

This commit is contained in:
2009-07-11 09:14:12 +00:00
322 changed files with 30831 additions and 19510 deletions

View File

@@ -417,7 +417,8 @@ char *BPy_enum_as_string(EnumPropertyItem *item)
char *cstring;
for (e= item; item->identifier; item++) {
BLI_dynstr_appendf(dynstr, (e==item)?"'%s'":", '%s'", item->identifier);
if(item->identifier[0])
BLI_dynstr_appendf(dynstr, (e==item)?"'%s'":", '%s'", item->identifier);
}
cstring = BLI_dynstr_get_cstring(dynstr);