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-10-18 03:16:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-10-18 04:13:10 +0300
commitc5a13ffcb4b98bbd46dca7637051a966d18cd46f (patch)
tree95979c1e9028ced7f1a26c0087e686ac405575c7 /source/blender/editors
parent452c78757f44fe456dd10ee16bc509ab5455526b (diff)
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/screen/screen_edit.c2
-rw-r--r--source/blender/editors/sculpt_paint/sculpt_transform.c2
-rw-r--r--source/blender/editors/space_text/text_format_pov.c6
-rw-r--r--source/blender/editors/space_text/text_format_pov_ini.c4
-rw-r--r--source/blender/editors/transform/transform_snap.c2
-rw-r--r--source/blender/editors/util/numinput.c3
6 files changed, 9 insertions, 10 deletions
diff --git a/source/blender/editors/screen/screen_edit.c b/source/blender/editors/screen/screen_edit.c
index 02b1e002d86..79ef1c99b1d 100644
--- a/source/blender/editors/screen/screen_edit.c
+++ b/source/blender/editors/screen/screen_edit.c
@@ -645,7 +645,7 @@ void ED_screen_refresh(wmWindowManager *wm, wmWindow *win)
{
bScreen *screen = WM_window_get_active_screen(win);
- /* exception for bg mode, we only need the screen context */
+ /* Exception for background mode, we only need the screen context. */
if (!G.background) {
/* header size depends on DPI, let's verify */
WM_window_set_dpi(win);
diff --git a/source/blender/editors/sculpt_paint/sculpt_transform.c b/source/blender/editors/sculpt_paint/sculpt_transform.c
index 3c0a591e8a7..bfbe545d1ef 100644
--- a/source/blender/editors/sculpt_paint/sculpt_transform.c
+++ b/source/blender/editors/sculpt_paint/sculpt_transform.c
@@ -311,7 +311,7 @@ static int sculpt_set_pivot_position_exec(bContext *C, wmOperator *op)
else if (mode == SCULPT_PIVOT_POSITION_ACTIVE_VERTEX) {
copy_v3_v3(ss->pivot_pos, SCULPT_active_vertex_co_get(ss));
}
- /* Pivot to raycast surface. */
+ /* Pivot to ray-cast surface. */
else if (mode == SCULPT_PIVOT_POSITION_CURSOR_SURFACE) {
float stroke_location[3];
float mouse[2];
diff --git a/source/blender/editors/space_text/text_format_pov.c b/source/blender/editors/space_text/text_format_pov.c
index ea3d0ec1478..7af59c00499 100644
--- a/source/blender/editors/space_text/text_format_pov.c
+++ b/source/blender/editors/space_text/text_format_pov.c
@@ -709,7 +709,7 @@ static int txtfmt_pov_find_bool(const char *string)
/* Keep aligned args for readability. */
/* clang-format off */
- /* Built-in Constants */
+ /* Built-in Constants. */
if (STR_LITERAL_STARTSWITH(string, "unofficial", len)) { i = len;
} else if (STR_LITERAL_STARTSWITH(string, "false", len)) { i = len;
} else if (STR_LITERAL_STARTSWITH(string, "no", len)) { i = len;
@@ -719,7 +719,7 @@ static int txtfmt_pov_find_bool(const char *string)
} else if (STR_LITERAL_STARTSWITH(string, "on", len)) { i = len;
} else if (STR_LITERAL_STARTSWITH(string, "pi", len)) { i = len;
} else if (STR_LITERAL_STARTSWITH(string, "tau", len)) { i = len;
- /* Encodings */
+ /* Encodings. */
} else if (STR_LITERAL_STARTSWITH(string, "sint16be", len)) { i = len;
} else if (STR_LITERAL_STARTSWITH(string, "sint16le", len)) { i = len;
} else if (STR_LITERAL_STARTSWITH(string, "sint32be", len)) { i = len;
@@ -732,7 +732,7 @@ static int txtfmt_pov_find_bool(const char *string)
} else if (STR_LITERAL_STARTSWITH(string, "uint8", len)) { i = len;
} else if (STR_LITERAL_STARTSWITH(string, "ascii", len)) { i = len;
} else if (STR_LITERAL_STARTSWITH(string, "utf8", len)) { i = len;
- /* Filetypes */
+ /* File-types. */
} else if (STR_LITERAL_STARTSWITH(string, "tiff", len)) { i = len;
} else if (STR_LITERAL_STARTSWITH(string, "df3", len)) { i = len;
} else if (STR_LITERAL_STARTSWITH(string, "exr", len)) { i = len;
diff --git a/source/blender/editors/space_text/text_format_pov_ini.c b/source/blender/editors/space_text/text_format_pov_ini.c
index 259ad02a6b7..4e6945a279c 100644
--- a/source/blender/editors/space_text/text_format_pov_ini.c
+++ b/source/blender/editors/space_text/text_format_pov_ini.c
@@ -279,7 +279,7 @@ static int txtfmt_ini_find_reserved(const char *string)
} else if (STR_LITERAL_STARTSWITH(string, "Dither", len)) { i = len;
} else if (STR_LITERAL_STARTSWITH(string, "Flags", len)) { i = len;
} else if (STR_LITERAL_STARTSWITH(string, "Font", len)) { i = len;
- /* Filetypes */
+ /* File-types. */
} else if (STR_LITERAL_STARTSWITH(string, "df3", len)) { i = len;
} else if (STR_LITERAL_STARTSWITH(string, "exr", len)) { i = len;
} else if (STR_LITERAL_STARTSWITH(string, "gif", len)) { i = len;
@@ -292,7 +292,7 @@ static int txtfmt_ini_find_reserved(const char *string)
} else if (STR_LITERAL_STARTSWITH(string, "sys", len)) { i = len;
} else if (STR_LITERAL_STARTSWITH(string, "tga", len)) { i = len;
} else if (STR_LITERAL_STARTSWITH(string, "tiff", len)) { i = len;
- /* Encodings */
+ /* Encodings. */
} else if (STR_LITERAL_STARTSWITH(string, "ascii", len)) { i = len;
} else if (STR_LITERAL_STARTSWITH(string, "utf8", len)) { i = len;
} else if (STR_LITERAL_STARTSWITH(string, "uint8", len)) { i = len;
diff --git a/source/blender/editors/transform/transform_snap.c b/source/blender/editors/transform/transform_snap.c
index 5eab059e049..2e1e8eb4ca4 100644
--- a/source/blender/editors/transform/transform_snap.c
+++ b/source/blender/editors/transform/transform_snap.c
@@ -1325,7 +1325,7 @@ bool peelObjectsTransform(TransInfo *t,
}
}
}
- /* in this case has only one hit. treat as raycast */
+ /* In this case has only one hit. treat as ray-cast. */
if (hit_max == NULL) {
hit_max = hit_min;
}
diff --git a/source/blender/editors/util/numinput.c b/source/blender/editors/util/numinput.c
index d0eed6a6eb1..d0f27770d9b 100644
--- a/source/blender/editors/util/numinput.c
+++ b/source/blender/editors/util/numinput.c
@@ -472,8 +472,7 @@ bool handleNumInput(bContext *C, NumInput *n, const wmEvent *event)
return true;
case EVT_PADPERIOD:
case EVT_PERIODKEY:
- /* Force numdot, some OSs/countries generate a comma char in this case,
- * sic... (T37992) */
+ /* Force number-pad "." since some OS's/countries generate a comma char, see: T37992 */
ascii[0] = '.';
utf8_buf = ascii;
break;