diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-09-12 11:58:43 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-09-12 11:59:44 +0300 |
commit | a22c2ceb0feed60942a59f0ebaa26d351b784ed8 (patch) | |
tree | 8f733ce296f1a157905266cd547865e114cad913 /source/blender/makesrna/intern | |
parent | 1e2f2f27e9f2bcac470330070a10e0d82f9a50a0 (diff) |
Cleanup: line breaks with comments
Diffstat (limited to 'source/blender/makesrna/intern')
-rw-r--r-- | source/blender/makesrna/intern/makesrna.c | 4 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_define.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/makesrna/intern/makesrna.c b/source/blender/makesrna/intern/makesrna.c index f531eb7f494..2d4da942610 100644 --- a/source/blender/makesrna/intern/makesrna.c +++ b/source/blender/makesrna/intern/makesrna.c @@ -629,8 +629,8 @@ static char *rna_def_property_get_func( if (prop->type == PROP_FLOAT) { if (IS_DNATYPE_FLOAT_COMPAT(dp->dnatype) == 0) { - if (prop->subtype != - PROP_COLOR_GAMMA) { /* colors are an exception. these get translated */ + /* Colors are an exception. these get translated. */ + if (prop->subtype != PROP_COLOR_GAMMA) { CLOG_ERROR(&LOG, "%s.%s is a '%s' but wrapped as type '%s'.", srna->identifier, diff --git a/source/blender/makesrna/intern/rna_define.c b/source/blender/makesrna/intern/rna_define.c index 8fc3bee83e6..758fbd07f85 100644 --- a/source/blender/makesrna/intern/rna_define.c +++ b/source/blender/makesrna/intern/rna_define.c @@ -2445,8 +2445,8 @@ void RNA_def_property_float_sdna(PropertyRNA *prop, const char *structname, cons /* silent is for internal use */ if (DefRNA.silent == 0) { if (dp->dnatype && *dp->dnatype && IS_DNATYPE_FLOAT_COMPAT(dp->dnatype) == 0) { - if (prop->subtype != - PROP_COLOR_GAMMA) { /* colors are an exception. these get translated */ + /* Colors are an exception. these get translated. */ + if (prop->subtype != PROP_COLOR_GAMMA) { CLOG_ERROR(&LOG, "%s.%s is a '%s' but wrapped as type '%s'.", srna->identifier, |