From 74c896c0819bd95004b0b11925d51586570f980f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 10 Jan 2022 13:47:12 +1100 Subject: Cleanup: typos in comments, remove libnumaapi reference --- source/blender/draw/intern/draw_manager.c | 2 +- source/blender/render/intern/zbuf.h | 2 +- source/blender/simulation/intern/hair_volume.cpp | 4 ++-- source/blender/windowmanager/intern/wm_event_system.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'source/blender') diff --git a/source/blender/draw/intern/draw_manager.c b/source/blender/draw/intern/draw_manager.c index 86ed08c5b0f..1c7a02339bc 100644 --- a/source/blender/draw/intern/draw_manager.c +++ b/source/blender/draw/intern/draw_manager.c @@ -757,7 +757,7 @@ static void duplidata_key_free(void *key) } else { Object temp_object = *dupli_key->ob; - /* Do not modify the original boundbox. */ + /* Do not modify the original bound-box. */ temp_object.runtime.bb = NULL; BKE_object_replace_data_on_shallow_copy(&temp_object, dupli_key->ob_data); drw_batch_cache_generate_requested(&temp_object); diff --git a/source/blender/render/intern/zbuf.h b/source/blender/render/intern/zbuf.h index c5108a9d6a7..3e4832e04d6 100644 --- a/source/blender/render/intern/zbuf.h +++ b/source/blender/render/intern/zbuf.h @@ -24,7 +24,7 @@ extern "C" { #endif -/* span fill in method, is also used to localize data for zbuffering */ +/** Span fill in method, is also used to localize data for Z-buffering. */ typedef struct ZSpan { int rectx, recty; /* range for clipping */ diff --git a/source/blender/simulation/intern/hair_volume.cpp b/source/blender/simulation/intern/hair_volume.cpp index d4550eec5d6..f9b61fe9942 100644 --- a/source/blender/simulation/intern/hair_volume.cpp +++ b/source/blender/simulation/intern/hair_volume.cpp @@ -842,8 +842,8 @@ bool SIM_hair_volume_solve_divergence(HairGrid *grid, } /* Main Poisson equation system: - * This is derived from the discretezation of the Poisson equation - * div(grad(p)) = div(v) + * This is derived from the discretization of the Poisson equation: + * `div(grad(p)) = div(v)` * * The finite difference approximation yields the linear equation system described here: * https://en.wikipedia.org/wiki/Discrete_Poisson_equation diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c index ef644da5578..28d8413fe0b 100644 --- a/source/blender/windowmanager/intern/wm_event_system.c +++ b/source/blender/windowmanager/intern/wm_event_system.c @@ -2263,7 +2263,7 @@ static int wm_handler_operator_call(bContext *C, CTX_wm_region_set(C, NULL); } - /* /update gizmos during modal handlers. */ + /* Update gizmos during modal handlers. */ wm_gizmomaps_handled_modal_update(C, event, handler); /* Remove modal handler, operator itself should have been canceled and freed. */ -- cgit v1.2.3