Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2013-12-21 02:35:28 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2013-12-21 02:35:28 +0400
commit14c9899a69c24aa457b700d2f0a20c8077538092 (patch)
tree77fd587966434e21effde5f1f77960e564a7bbbe
parent163e544006ffb7224afdce083c41eb0698b0be15 (diff)
Fix T37903: Operator log serialization broken for sets.
Was a mistake in rB9d6f05ed style edits (TRUE became false ;) ).
-rw-r--r--source/blender/makesrna/intern/rna_access.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c
index 2d89424d177..e9977dafcb5 100644
--- a/source/blender/makesrna/intern/rna_access.c
+++ b/source/blender/makesrna/intern/rna_access.c
@@ -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);