Cleanup: spelling in comments

This commit is contained in:
Campbell Barton
2025-04-01 12:37:36 +11:00
parent 3e496a5dfe
commit 00deec7c66
5 changed files with 7 additions and 7 deletions

View File

@@ -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

View File

@@ -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;

View File

@@ -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);

View File

@@ -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

View File

@@ -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