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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-07-23 09:56:00 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-07-23 10:03:51 +0300
commitced94bc11c84f3c997949c2a0ec2449054a8e417 (patch)
tree03a684ca483d2707905f001da29ad600c1eeb394 /source/blender/makesrna
parent7ce0d9d79166c281c161d124ee72dc448efd4325 (diff)
Cleanup: code comments punctuation / spacing
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r--source/blender/makesrna/RNA_types.h2
-rw-r--r--source/blender/makesrna/intern/rna_access.c2
-rw-r--r--source/blender/makesrna/intern/rna_rna.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/makesrna/RNA_types.h b/source/blender/makesrna/RNA_types.h
index c2335b82fca..d880c892aa9 100644
--- a/source/blender/makesrna/RNA_types.h
+++ b/source/blender/makesrna/RNA_types.h
@@ -226,7 +226,7 @@ typedef enum PropertyFlag {
PROP_ICONS_CONSECUTIVE = (1 << 12),
PROP_ICONS_REVERSE = (1 << 8),
- /** Hidden in the user interface. */
+ /** Hidden in the user interface. */
PROP_HIDDEN = (1 << 19),
/** Do not write in presets. */
PROP_SKIP_SAVE = (1 << 28),
diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c
index 1159d6f7a68..feacd47c98c 100644
--- a/source/blender/makesrna/intern/rna_access.c
+++ b/source/blender/makesrna/intern/rna_access.c
@@ -5031,7 +5031,7 @@ static char *rna_path_token(const char **path, char *fixedbuf, int fixedlen, int
}
}
else {
- /* get data until . or [ */
+ /* Get data until `.` or `[`. */
p = *path;
while (*p && *p != '.' && *p != '[') {
diff --git a/source/blender/makesrna/intern/rna_rna.c b/source/blender/makesrna/intern/rna_rna.c
index 42bdc7442f4..b080e572fa2 100644
--- a/source/blender/makesrna/intern/rna_rna.c
+++ b/source/blender/makesrna/intern/rna_rna.c
@@ -2123,7 +2123,7 @@ bool rna_property_override_store_default(Main *UNUSED(bmain),
for (int j = len_local; j--;) {
array_b[j] = j >= i ? -array_b[j] : fac * (array_a[j] - array_b[j]);
if (array_b[j] < prop_min || array_b[j] > prop_max) {
- /* We failed to find a suitable diff op,
+ /* We failed to find a suitable diff op,
* fall back to plain REPLACE one. */
opop->operation = IDOVERRIDE_LIBRARY_OP_REPLACE;
do_set = false;
@@ -2213,7 +2213,7 @@ bool rna_property_override_store_default(Main *UNUSED(bmain),
for (int j = len_local; j--;) {
array_b[j] = j >= i ? -array_b[j] : fac * (array_a[j] - array_b[j]);
if (array_b[j] < prop_min || array_b[j] > prop_max) {
- /* We failed to find a suitable diff op,
+ /* We failed to find a suitable diff op,
* fall back to plain REPLACE one. */
opop->operation = IDOVERRIDE_LIBRARY_OP_REPLACE;
do_set = false;