Commit: 25b99b1922586386b89f19fe1f3f93d8a21869cd
Author: Martijn Berger
Date:   Tue Oct 27 22:11:14 2015 +0100
Branches: master
https://developer.blender.org/rB25b99b1922586386b89f19fe1f3f93d8a21869cd

Fix makesrna generated C++ header have consistent whitespace for strings.

===================================================================

M       source/blender/makesrna/intern/makesrna.c

===================================================================

diff --git a/source/blender/makesrna/intern/makesrna.c 
b/source/blender/makesrna/intern/makesrna.c
index e887397..887124f 100644
--- a/source/blender/makesrna/intern/makesrna.c
+++ b/source/blender/makesrna/intern/makesrna.c
@@ -1795,7 +1795,7 @@ static void rna_def_property_funcs_header_cpp(FILE *f, 
StructRNA *srna, Property
                }
                case PROP_STRING:
                {
-                       fprintf(f, "\tinline std::string %s(void);", 
rna_safe_id(prop->identifier));
+                       fprintf(f, "\tinline std::string %s(void);\n", 
rna_safe_id(prop->identifier));
                        fprintf(f, "\tinline void %s(const std::string& 
value);", rna_safe_id(prop->identifier));
                        break;
                }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to