[Bf-blender-cvs] [14c9899] master: Fix T37903: Operator log serialization broken for sets.
Bastien Montagne
noreply at git.blender.org
Fri Dec 20 23:37:16 CET 2013
Commit: 14c9899a69c24aa457b700d2f0a20c8077538092
Author: Bastien Montagne
Date: Fri Dec 20 23:35:28 2013 +0100
http://developer.blender.org/rB14c9899a69c24aa457b700d2f0a20c8077538092
Fix T37903: Operator log serialization broken for sets.
Was a mistake in rB9d6f05ed style edits (TRUE became false ;) ).
===================================================================
M source/blender/makesrna/intern/rna_access.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c
index 2d89424..e9977da 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);
More information about the Bf-blender-cvs
mailing list