Fix makesrna generated C++ header have consistent whitespace for strings.
authorMartijn Berger <martijn.berger@gmail.com>
Tue, 27 Oct 2015 21:11:14 +0000 (22:11 +0100)
committerMartijn Berger <martijn.berger@gmail.com>
Tue, 27 Oct 2015 21:11:33 +0000 (22:11 +0100)
source/blender/makesrna/intern/makesrna.c

index e887397f4d77dadb719dee0bbe44a6bbc13ce22a..887124fc48655d39fb25b239342321f9eec9b042 100644 (file)
@@ -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;
                }