Fix T37903: Operator log serialization broken for sets.

Was a mistake in rB9d6f05ed style edits (TRUE became false ;) ).
This commit is contained in:
Bastien Montagne 2013-12-20 23:35:28 +01:00
parent 163e544006
commit 14c9899a69
Notes: blender-bot 2023-02-14 20:12:01 +01:00
Referenced by issue blender/blender-addons#37903, Operator log serialization broken for sets
1 changed files with 1 additions and 1 deletions

View File

@ -5256,7 +5256,7 @@ char *RNA_property_as_string(bContext *C, PointerRNA *ptr, PropertyRNA *prop, in
RNA_property_enum_items(C, ptr, prop, &item, NULL, &free);
if (item) {
bool is_first = false;
bool is_first = true;
for (; item->identifier; item++) {
if (item->identifier[0] && item->value & val) {
BLI_dynstr_appendf(dynstr, is_first ? "'%s'" : ", '%s'", item->identifier);