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
path: root/source
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2021-06-25 20:11:13 +0300
committerHans Goudey <h.goudey@me.com>2021-06-25 20:11:13 +0300
commit9586472b9a92d5abb2aea8e1663297de0db89359 (patch)
tree460d193975566a85cb000c978f44eb3f726ae2af /source
parent23042a3fb189620a6d908ced1af98b10ad2f8afd (diff)
Cleanup: Clang format
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenlib/intern/string.c7
-rw-r--r--source/blender/makesrna/intern/rna_scene.c3
2 files changed, 7 insertions, 3 deletions
diff --git a/source/blender/blenlib/intern/string.c b/source/blender/blenlib/intern/string.c
index cadee2bfe12..b2b8d6a0f24 100644
--- a/source/blender/blenlib/intern/string.c
+++ b/source/blender/blenlib/intern/string.c
@@ -1230,8 +1230,10 @@ void BLI_str_format_byte_unit(char dst[15], long long int bytes, const bool base
}
/**
- * Format a attribute domain to a up to 6 places (plus '\0' terminator) string using long number names abbreviations.
- * This function is designed to produce a compact representation of large numbers.
+ * Format a attribute domain to a up to 6 places (plus '\0' terminator) string using long number
+ * names abbreviations. This function is designed to produce a compact representation of large
+ * numbers.
+ *
* 1 -> 1
* 15 -> 15
* 155 -> 155
@@ -1243,6 +1245,7 @@ void BLI_str_format_byte_unit(char dst[15], long long int bytes, const bool base
* 155555555 -> 156M
* 1000000000 -> 1B
* ...
+ *
* Dimension of 7 is the maximum length of the resulting string
* A combination with 7 places would be -15.5K\0
*/
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c
index 3862d2e4040..d45339753fe 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -4206,7 +4206,8 @@ void rna_def_view_layer_common(BlenderRNA *brna, StructRNA *srna, const bool sce
prop = RNA_def_property(srna, "use_motion_blur", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "layflag", SCE_LAY_MOTION_BLUR);
- RNA_def_property_ui_text(prop, "Motion Blur", "Render motion blur in this Layer, if enabled in the scene");
+ RNA_def_property_ui_text(
+ prop, "Motion Blur", "Render motion blur in this Layer, if enabled in the scene");
if (scene) {
RNA_def_property_update(prop, NC_SCENE | ND_RENDER_OPTIONS, NULL);
}