diff --git a/intern/ghost/intern/GHOST_SystemWayland.cc b/intern/ghost/intern/GHOST_SystemWayland.cc index 89b4a056a708798de3502160870f566189bdcc5f..2a9b3f183a0d3caf7511a7e4fd4c3f63a14837c5 100644 --- a/intern/ghost/intern/GHOST_SystemWayland.cc +++ b/intern/ghost/intern/GHOST_SystemWayland.cc @@ -3389,7 +3389,7 @@ static void data_device_handle_drop(void *data, wl_data_device * /*wl_data_devic GHOST_TDragnDropTypes ghost_dnd_type = GHOST_kDragnDropTypeUnknown; void *ghost_dnd_data = nullptr; - /* Failure to receive drop data . */ + /* Failure to receive drop data. */ if (mime_receive == ghost_wl_mime_text_uri) { const char file_proto[] = "file://"; /* NOTE: some applications CRLF (`\r\n`) GTK3 for e.g. & others don't `pcmanfm-qt`. diff --git a/intern/ghost/intern/GHOST_WindowWayland.cc b/intern/ghost/intern/GHOST_WindowWayland.cc index 75ff9cdf849f8a2b1cd9c696728cdf93628ad794..41c0d624ec20a7b3d532280e3b658da753244f8a 100644 --- a/intern/ghost/intern/GHOST_WindowWayland.cc +++ b/intern/ghost/intern/GHOST_WindowWayland.cc @@ -1219,7 +1219,7 @@ static void xdg_toplevel_handle_wm_capabilities(void * /*data*/, /* Only available in interface version 5. */ CLOG_INFO(LOG, 2, "wm_capabilities"); - /* NOTE: this would be useful if blender had CSD, . */ + /* NOTE: this would be useful if blender had CSD. */ } static const xdg_toplevel_listener xdg_toplevel_listener = { diff --git a/release/bin/blender-launcher b/release/bin/blender-launcher index a638695034af8050a1fb682ce966931e12d76aea..f2b2673820a24e8040a163e83114940db1d16f6d 100755 --- a/release/bin/blender-launcher +++ b/release/bin/blender-launcher @@ -3,7 +3,7 @@ BF_DIST_BIN=$(dirname "$0") BF_PROGRAM="blender" # Add own lib folder first, because Steam or other environments may set an -# LD_LIBRARY_PATH that has priority over the runpath in the Blender excutable, +# $LD_LIBRARY_PATH that has priority over the run-path in the Blender executable, # but contains incompatible libraries. LD_LIBRARY_PATH=${BF_DIST_BIN}/lib:${LD_LIBRARY_PATH} diff --git a/scripts/modules/_bpy_internal/freedesktop.py b/scripts/modules/_bpy_internal/freedesktop.py index 2b930e07c8e60e0b13c8fdc6930c73624e6a3a7c..9563047e581834094ca1059e100d4d406fe38886 100644 --- a/scripts/modules/_bpy_internal/freedesktop.py +++ b/scripts/modules/_bpy_internal/freedesktop.py @@ -46,7 +46,7 @@ BLENDER_ENV = "bpy" in sys.modules # ----------------------------------------------------------------------------- # Programs -# The command `xdg-mime` handles most of the file assosiation actions. +# The command `xdg-mime` handles most of the file association actions. XDG_MIME_PROG = shutil.which("xdg-mime") or "" # Initialize by `bpy` or command line arguments. diff --git a/source/blender/blenkernel/intern/grease_pencil.cc b/source/blender/blenkernel/intern/grease_pencil.cc index 57f8626928777f9a80fe9da18d321e6e1bada83f..e943c4dc08bd8f6d83178b5c347d336ad369436b 100644 --- a/source/blender/blenkernel/intern/grease_pencil.cc +++ b/source/blender/blenkernel/intern/grease_pencil.cc @@ -2869,7 +2869,7 @@ void GreasePencil::remove_layer(blender::bke::greasepencil::Layer &layer) const Layer *active_layer = this->get_active_layer(); if (active_layer == &layer) { Span<const Layer *> layers = this->layers(); - /* If there is no other layer available , unset the active layer. */ + /* If there is no other layer available, unset the active layer. */ if (layers.size() == 1) { this->set_active_layer(nullptr); } diff --git a/source/blender/blenkernel/intern/image_gpu.cc b/source/blender/blenkernel/intern/image_gpu.cc index 618379fa7965c3ed8dc2744d17728396b161a6d6..ff63ed32701880914409cd1d488c5f18f170c714 100644 --- a/source/blender/blenkernel/intern/image_gpu.cc +++ b/source/blender/blenkernel/intern/image_gpu.cc @@ -787,7 +787,7 @@ static void gpu_texture_update_from_ibuf( IMB_colormanagement_space_is_scene_linear(ibuf->byte_buffer.colorspace) || IMB_colormanagement_space_is_data(ibuf->byte_buffer.colorspace)) { - /* sRGB or scene linear or scaled down non-color data , store as byte texture that the GPU + /* sRGB or scene linear or scaled down non-color data, store as byte texture that the GPU * can decode directly. */ rect = (uchar *)MEM_mallocN(sizeof(uchar[4]) * w * h, __func__); if (rect == nullptr) { diff --git a/source/blender/blenkernel/intern/pbvh_pixels_copy.cc b/source/blender/blenkernel/intern/pbvh_pixels_copy.cc index ad65e7ab8a471be8311178a44029f7f3a27db934..5057b8d47dd446d3d1374ea32be4956a43f168c9 100644 --- a/source/blender/blenkernel/intern/pbvh_pixels_copy.cc +++ b/source/blender/blenkernel/intern/pbvh_pixels_copy.cc @@ -312,7 +312,7 @@ struct Rows { * - The second source pixel must be a neighbor pixel of the first source, or the same as the * first source when no second pixel could be found. * - The second source pixel must be a pixel that is painted on by the brush. - * - The second source pixel must be the second closest pixel , or the first source + * - The second source pixel must be the second closest pixel, or the first source * when no second pixel could be found. */ int2 find_second_source(int2 destination, int2 first_source) diff --git a/source/blender/blenlib/BLI_astar.h b/source/blender/blenlib/BLI_astar.h index 202ac4f3a460f4a6aefad50912351e99be86d460..6b05720f9bd64bf41539f4695a7a65282428e931 100644 --- a/source/blender/blenlib/BLI_astar.h +++ b/source/blender/blenlib/BLI_astar.h @@ -88,8 +88,8 @@ int BLI_astar_node_link_other_node(BLI_AStarGNLink *lnk, int idx); /** * Initialize a solution data for given A* graph. Does not compute anything! * - * \param custom_data: an opaque pointer attached to this link, available e.g - * . to cost callback function. + * \param custom_data: an opaque pointer attached to this link, available e.g. + * to cost callback function. * * \note BLI_AStarSolution stores nearly all data needed during solution compute. */ diff --git a/source/blender/draw/engines/eevee_next/shaders/eevee_horizon_scan_lib.glsl b/source/blender/draw/engines/eevee_next/shaders/eevee_horizon_scan_lib.glsl index ce6ca6b2139c2ab972baf619a4ae60417f490531..b48a4b817d7199fa03547daf45c99d9cc9a51245 100644 --- a/source/blender/draw/engines/eevee_next/shaders/eevee_horizon_scan_lib.glsl +++ b/source/blender/draw/engines/eevee_next/shaders/eevee_horizon_scan_lib.glsl @@ -24,7 +24,7 @@ uint horizon_scan_angles_to_bitmask(vec2 theta) /* Algorithm 1, line 18. Re-ordered to make sure to clamp to the hemisphere range. */ vec2 ratio = saturate(theta * M_1_PI + 0.5); uint a = uint(floor(float(bitmask_len) * ratio.x)); - /* The paper is wrong here. The additional half Pi is not needed . */ + /* The paper is wrong here. The additional half Pi is not needed. */ uint b = uint(ceil(float(bitmask_len) * (ratio.y - ratio.x))); /* Algorithm 1, line 19. */ return (((b < 32u) ? 1u << b : 0u) - 1u) << a; diff --git a/source/blender/editors/space_text/text_format_glsl.cc b/source/blender/editors/space_text/text_format_glsl.cc index 64b2eced6258a68a8d984feefa73ee8430429070..261568000a1a2095db242be871903611d91a81a7 100644 --- a/source/blender/editors/space_text/text_format_glsl.cc +++ b/source/blender/editors/space_text/text_format_glsl.cc @@ -293,7 +293,7 @@ static const Span<const char *> text_format_glsl_literals_reserved( * https://registry.khronos.org/OpenGL/specs/gl/GLSLangSpec.4.60.pdf */ static const char *text_format_glsl_literals_specialvar_data[] = { - /* Force single column , sorted list */ + /* Force single column, sorted list */ /* clang-format off */ "gl_ClipDistance", "gl_FragCoord", diff --git a/source/blender/gpu/GPU_texture.hh b/source/blender/gpu/GPU_texture.hh index 714c7f1afbd72d25b6db2cf12b73f7ac7d2fca2b..49a0e525ca5b808512062d2a1b218985c4f5167c 100644 --- a/source/blender/gpu/GPU_texture.hh +++ b/source/blender/gpu/GPU_texture.hh @@ -674,8 +674,8 @@ void GPU_texture_free(GPUTexture *texture); * Create an alias of the source texture data. A view can cover the whole texture or only a range * of mip levels and/or array layer range. * - * \a view_format is the format in which the view will interpret the data of \a source_texture . It - * must match the format of \a source_texture in size (ex: RGBA8 can be reinterpreted as R32UI). + * \a view_format is the format in which the view will interpret the data of \a source_texture. + * It must match the format of \a source_texture in size (ex: RGBA8 can be reinterpreted as R32UI). * See https://www.khronos.org/opengl/wiki/Texture_Storage#View_texture_aliases for an exhaustive * list. * diff --git a/source/blender/gpu/intern/gpu_shader_create_info.cc b/source/blender/gpu/intern/gpu_shader_create_info.cc index 1d2254f848d39e3373a3b208cdfab828cbbb3548..1379f7fac29c829c7b2ced2875976c2d07cee3cc 100644 --- a/source/blender/gpu/intern/gpu_shader_create_info.cc +++ b/source/blender/gpu/intern/gpu_shader_create_info.cc @@ -544,7 +544,7 @@ void gpu_shader_create_info_init() /* NOTE: As atomic data types can alter shader gen if native atomics are unsupported, we need * to use differing create info's to handle the tile optimized check. This does prevent - * the shadow techniques from being dynamically switchable . */ + * the shadow techniques from being dynamically switchable. */ const bool is_tile_based_arch = (GPU_platform_architecture() == GPU_ARCHITECTURE_TBDR); if (is_tile_based_arch) { eevee_shadow_data = eevee_shadow_data_non_atomic; diff --git a/source/blender/sequencer/intern/sound.cc b/source/blender/sequencer/intern/sound.cc index bc50422124bed506bb99e39a050c915c66289aca..2a23a356c45b547ec08eac6d5a8dd077497dbde6 100644 --- a/source/blender/sequencer/intern/sound.cc +++ b/source/blender/sequencer/intern/sound.cc @@ -164,7 +164,7 @@ EQCurveMappingData *SEQ_sound_equalizer_add(SoundEqualizerModifierData *semd, if (minX < 0) { minX = 0.0; } - /* It's the same as BKE_curvemapping_add , but changing the name */ + /* It's the same as #BKE_curvemapping_add, but changing the name. */ eqcmd = MEM_cnew<EQCurveMappingData>("Equalizer"); BKE_curvemapping_set_defaults(&eqcmd->curve_mapping, 1, /* Total. */ diff --git a/source/blender/windowmanager/intern/wm_platform.cc b/source/blender/windowmanager/intern/wm_platform.cc index 00e2d370fa4106aa86d8d86865cdf5216b71f078..9e5a25d4676250efc6e7c1a1b60436bd3ddfdcdb 100644 --- a/source/blender/windowmanager/intern/wm_platform.cc +++ b/source/blender/windowmanager/intern/wm_platform.cc @@ -23,7 +23,7 @@ #endif /* -------------------------------------------------------------------- */ -/** \name Register File Assosiation +/** \name Register File Association * \{ */ bool WM_platform_assosiate_set(bool do_register, bool all_users, char **r_error_msg)