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 <campbell@blender.org>2022-08-16 03:37:34 +0300
committerCampbell Barton <campbell@blender.org>2022-08-16 03:38:26 +0300
commit9d9c05a10106ea08cf5082633a5dd0a007d860ba (patch)
treeafe19a289ff052a3f51bc0369d64e62a54f4c2a9
parentc4eb70e54390083a8f2d98fa1eeed68eaeafa5ff (diff)
Cleanup: spelling in comments
-rw-r--r--intern/ghost/intern/GHOST_ISystem.cpp2
-rw-r--r--source/blender/blenkernel/intern/tracking_stabilize.c2
-rw-r--r--source/blender/draw/engines/eevee_next/eevee_shader_shared.hh10
-rw-r--r--source/blender/editors/include/ED_sculpt.h5
-rw-r--r--source/blender/editors/sculpt_paint/sculpt_intern.h7
5 files changed, 14 insertions, 12 deletions
diff --git a/intern/ghost/intern/GHOST_ISystem.cpp b/intern/ghost/intern/GHOST_ISystem.cpp
index 03bdcd2fc82..13eccf661f5 100644
--- a/intern/ghost/intern/GHOST_ISystem.cpp
+++ b/intern/ghost/intern/GHOST_ISystem.cpp
@@ -114,7 +114,7 @@ GHOST_TSuccess GHOST_ISystem::createSystemBackground()
GHOST_TSuccess success;
if (!m_system) {
#if !defined(WITH_HEADLESS)
- /* Try to create a offscreen render surface with the graphical systems. */
+ /* Try to create a off-screen render surface with the graphical systems. */
success = createSystem();
if (success) {
return success;
diff --git a/source/blender/blenkernel/intern/tracking_stabilize.c b/source/blender/blenkernel/intern/tracking_stabilize.c
index e2e0b4227e3..b03d226964c 100644
--- a/source/blender/blenkernel/intern/tracking_stabilize.c
+++ b/source/blender/blenkernel/intern/tracking_stabilize.c
@@ -1342,7 +1342,7 @@ ImBuf *BKE_tracking_stabilize_frame(
return ibuf;
}
- /* Allocate frame for stabilization result, copy alpha mode and colorspace. */
+ /* Allocate frame for stabilization result, copy alpha mode and color-space. */
ibuf_flags = 0;
if (ibuf->rect) {
ibuf_flags |= IB_rect;
diff --git a/source/blender/draw/engines/eevee_next/eevee_shader_shared.hh b/source/blender/draw/engines/eevee_next/eevee_shader_shared.hh
index bb25f6184d4..3facb904a57 100644
--- a/source/blender/draw/engines/eevee_next/eevee_shader_shared.hh
+++ b/source/blender/draw/engines/eevee_next/eevee_shader_shared.hh
@@ -38,7 +38,7 @@ constexpr eGPUSamplerState with_filter = GPU_SAMPLER_FILTER;
enum eDebugMode : uint32_t {
DEBUG_NONE = 0u,
/**
- * Gradient showing light evaluation hotspots.
+ * Gradient showing light evaluation hot-spots.
*/
DEBUG_LIGHT_CULLING = 1u,
/**
@@ -46,7 +46,7 @@ enum eDebugMode : uint32_t {
*/
DEBUG_HIZ_VALIDATION = 2u,
/**
- * Tilemaps to screen. Is also present in other modes.
+ * Tile-maps to screen. Is also present in other modes.
* - Black pixels, no pages allocated.
* - Green pixels, pages cached.
* - Red pixels, pages allocated.
@@ -57,8 +57,8 @@ enum eDebugMode : uint32_t {
*/
DEBUG_SHADOW_PAGES = 11u,
/**
- * Outputs random color per tilemap (or tilemap level). Validates tilemaps coverage.
- * Black means not covered by any tilemaps LOD of the shadow.
+ * Outputs random color per tile-map (or tile-map level). Validates tile-maps coverage.
+ * Black means not covered by any tile-maps LOD of the shadow.
*/
DEBUG_SHADOW_LOD = 12u,
/**
@@ -67,7 +67,7 @@ enum eDebugMode : uint32_t {
*/
DEBUG_SHADOW_PAGE_ALLOCATION = 13u,
/**
- * Outputs the tilemap atlas. Default tilemap is too big for the usual screen resolution.
+ * Outputs the tile-map atlas. Default tile-map is too big for the usual screen resolution.
* Try lowering SHADOW_TILEMAP_PER_ROW and SHADOW_MAX_TILEMAP before using this option.
*/
DEBUG_SHADOW_TILE_ALLOCATION = 14u,
diff --git a/source/blender/editors/include/ED_sculpt.h b/source/blender/editors/include/ED_sculpt.h
index 5efeeaa29e1..1e220d33ff4 100644
--- a/source/blender/editors/include/ED_sculpt.h
+++ b/source/blender/editors/include/ED_sculpt.h
@@ -42,9 +42,10 @@ void ED_sculpt_end_transform(struct bContext *C, struct Object *ob);
/** Export for ED_undo_sys. */
void ED_sculpt_undosys_type(struct UndoType *ut);
-/* Pushes an undo step using the operator name. This is necassary for
+/**
+ * Pushes an undo step using the operator name. This is necessary for
* redo panels to work; operators that do not support that may use
- * ED_sculpt_undo_geometry_begin_ex instead if so desired.
+ * #ED_sculpt_undo_geometry_begin_ex instead if so desired.
*/
void ED_sculpt_undo_geometry_begin(struct Object *ob, const struct wmOperator *op);
void ED_sculpt_undo_geometry_begin_ex(struct Object *ob, const char *name);
diff --git a/source/blender/editors/sculpt_paint/sculpt_intern.h b/source/blender/editors/sculpt_paint/sculpt_intern.h
index d9f40fedf2b..e4bba135518 100644
--- a/source/blender/editors/sculpt_paint/sculpt_intern.h
+++ b/source/blender/editors/sculpt_paint/sculpt_intern.h
@@ -1493,14 +1493,15 @@ SculptUndoNode *SCULPT_undo_push_node(Object *ob, PBVHNode *node, SculptUndoType
SculptUndoNode *SCULPT_undo_get_node(PBVHNode *node, SculptUndoType type);
SculptUndoNode *SCULPT_undo_get_first_node(void);
-/* Pushes an undo step using the operator name. This is necassary for
+/**
+ * Pushes an undo step using the operator name. This is necessary for
* redo panels to work; operators that do not support that may use
- * SCULPT_undo_push_begin_ex instead if so desired.
+ * #SCULPT_undo_push_begin_ex instead if so desired.
*/
void SCULPT_undo_push_begin(struct Object *ob, const struct wmOperator *op);
/**
- * NOTE: SCULPT_undo_push_begin is preferred since `name`
+ * NOTE: #SCULPT_undo_push_begin is preferred since `name`
* must match operator name for redo panels to work.
*/
void SCULPT_undo_push_begin_ex(struct Object *ob, const char *name);