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-06-24 08:40:16 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-06-24 08:53:26 +0300
commit55bffa82da30a186bd952d0c140829374c2992e4 (patch)
tree9637c0685d62bdc0284d3ebb0232adb68fb5fdbb
parentde6c6501f0eec38287222f0e9e641cf3fed18eba (diff)
Cleanup: clang-format, spelling
-rw-r--r--intern/ghost/intern/GHOST_SystemWin32.cpp2
-rw-r--r--source/blender/blenloader/BLO_readfile.h8
-rw-r--r--source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c2
3 files changed, 6 insertions, 6 deletions
diff --git a/intern/ghost/intern/GHOST_SystemWin32.cpp b/intern/ghost/intern/GHOST_SystemWin32.cpp
index a70e5b91674..2eecea2ef5d 100644
--- a/intern/ghost/intern/GHOST_SystemWin32.cpp
+++ b/intern/ghost/intern/GHOST_SystemWin32.cpp
@@ -1893,7 +1893,7 @@ LRESULT WINAPI GHOST_SystemWin32::s_wndProc(HWND hwnd, UINT msg, WPARAM wParam,
case WM_DISPLAYCHANGE: {
GHOST_Wintab *wt = window->getWintab();
if (wt) {
- wt->remapCoordinates();
+ wt->remapCoordinates();
}
break;
}
diff --git a/source/blender/blenloader/BLO_readfile.h b/source/blender/blenloader/BLO_readfile.h
index 307c09f8ff5..c2ac2df1f84 100644
--- a/source/blender/blenloader/BLO_readfile.h
+++ b/source/blender/blenloader/BLO_readfile.h
@@ -82,18 +82,18 @@ typedef struct BlendFileData {
} BlendFileData;
struct BlendFileReadParams {
- uint skip_flags : 3; /* eBLOReadSkip */
+ uint skip_flags : 3; /* #eBLOReadSkip */
uint is_startup : 1;
/** Whether we are reading the memfile for an undo or a redo. */
- int undo_direction; /* eUndoStepDir */
+ int undo_direction; /* #eUndoStepDir */
};
typedef struct BlendFileReadReport {
/* General reports handling. */
struct ReportList *reports;
- /* Timing informations .*/
+ /* Timing information. */
struct {
double whole;
double libraries;
@@ -102,7 +102,7 @@ typedef struct BlendFileReadReport {
double lib_overrides_recursive_resync;
} duration;
- /* Count informations. */
+ /* Count information. */
struct {
/* Some numbers of IDs that ended up in a specific state, or required some specific process
* during this file read. */
diff --git a/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c b/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c
index 0b5003e5f2d..dffa6fce395 100644
--- a/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c
+++ b/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c
@@ -1921,7 +1921,7 @@ static bool lineart_geometry_check_visible(double (*model_view_proj)[4], Object
}
bool cond[6] = {true, true, true, true, true, true};
- /* Beause for a point to be inside clip space, it must satisfy -Wc <= XYCc <= Wc, here if all
+ /* Because for a point to be inside clip space, it must satisfy `-Wc <= XYCc <= Wc`, here if all
* verts falls to the same side of the clip space border, we know it's outside view. */
for (int i = 0; i < 8; i++) {
cond[0] &= (co[i][0] < -co[i][3]);