From 00deec7c6652e754704d899b6313b4c4b8aa57af Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 1 Apr 2025 12:37:36 +1100 Subject: [PATCH] Cleanup: spelling in comments --- intern/ghost/GHOST_Types.h | 2 +- intern/ghost/intern/GHOST_XrGraphicsBindingVulkan.hh | 4 ++-- .../editors/grease_pencil/intern/grease_pencil_utils.cc | 2 +- source/blender/windowmanager/intern/wm_cursors.cc | 2 +- tools/utils_doc/code_layout_diagram.py | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/intern/ghost/GHOST_Types.h b/intern/ghost/GHOST_Types.h index 64a5503376c..90cd51e808e 100644 --- a/intern/ghost/GHOST_Types.h +++ b/intern/ghost/GHOST_Types.h @@ -763,7 +763,7 @@ typedef struct { } GHOST_VulkanSwapChainData; typedef struct { - /** Resolution of the framebuffer image. */ + /** Resolution of the frame-buffer image. */ VkExtent2D extent; /** * Host accessible data containing the image data. Data is stored in the selected swapchain diff --git a/intern/ghost/intern/GHOST_XrGraphicsBindingVulkan.hh b/intern/ghost/intern/GHOST_XrGraphicsBindingVulkan.hh index de6acd0866c..4049dc096ce 100644 --- a/intern/ghost/intern/GHOST_XrGraphicsBindingVulkan.hh +++ b/intern/ghost/intern/GHOST_XrGraphicsBindingVulkan.hh @@ -57,9 +57,9 @@ class GHOST_XrGraphicsBindingVulkan : public GHOST_IXrGraphicsBinding { VkCommandPool m_vk_command_pool = VK_NULL_HANDLE; /** - * Single VkCommandBuffer that is used for all views/swapchains. + * Single VkCommandBuffer that is used for all views/swap-chains. * - * This can be improved by having a single command buffer per swapchain image. + * This can be improved by having a single command buffer per swap-chain image. */ VkCommandBuffer m_vk_command_buffer = VK_NULL_HANDLE; diff --git a/source/blender/editors/grease_pencil/intern/grease_pencil_utils.cc b/source/blender/editors/grease_pencil/intern/grease_pencil_utils.cc index 8dfa0912dc8..52ac88be0f9 100644 --- a/source/blender/editors/grease_pencil/intern/grease_pencil_utils.cc +++ b/source/blender/editors/grease_pencil/intern/grease_pencil_utils.cc @@ -1849,7 +1849,7 @@ void apply_eval_grease_pencil_data(const GreasePencil &eval_grease_pencil, } /* Clear the keyframe of all the original layers that don't have a matching evaluated layer, - * e.g. the ones that were "deleted" in the evalauted data. */ + * e.g. the ones that were "deleted" in the evaluated data. */ for (Layer *layer_orig : orig_layers_to_clear) { /* Try inserting a frame. */ Drawing *drawing_orig = orig_grease_pencil.insert_frame(*layer_orig, eval_frame); diff --git a/source/blender/windowmanager/intern/wm_cursors.cc b/source/blender/windowmanager/intern/wm_cursors.cc index 9b47a031939..fae05e08881 100644 --- a/source/blender/windowmanager/intern/wm_cursors.cc +++ b/source/blender/windowmanager/intern/wm_cursors.cc @@ -133,7 +133,7 @@ static CursorSize window_size_calc() { #if (OS_MAC) /* MacOS always scales up this type of cursor for high-dpi displays. - * The mid-sized 24x24 versions are a nice compromize size. */ + * The mid-sized 24x24 versions are a nice compromise size. */ return CURSOR_SIZE_24; #endif diff --git a/tools/utils_doc/code_layout_diagram.py b/tools/utils_doc/code_layout_diagram.py index f82a6800b3a..7fa58b9a6d3 100644 --- a/tools/utils_doc/code_layout_diagram.py +++ b/tools/utils_doc/code_layout_diagram.py @@ -9,7 +9,7 @@ This script generates a graphic of Blender's code layout: ./blender.bin -b --factory-startup --python ./tools/utils_doc/code_layout_diagram.py """ # This is an update to the historic: https://download.blender.org/ftp/ideasman42/pics/code_layout_historic.jpg -# Originally located ar: `www.blender.org/bf/codelayout.jpg` (now broken). +# Originally located at: `www.blender.org/bf/codelayout.jpg` (now broken). __all__ = ( "main", @@ -1091,7 +1091,7 @@ def main(): scene = bpy.context.scene scene.render.engine = 'BLENDER_EEVEE_NEXT' - # Without this, the whites are grey. + # Without this, the whites are gray. scene.view_settings.view_transform = "Standard" sub_section_gap_y = 0.1