diff --git a/intern/opensubdiv/internal/topology/topology_refiner_factory.cc b/intern/opensubdiv/internal/topology/topology_refiner_factory.cc index 9688bc9eb0f..877c62b83ac 100644 --- a/intern/opensubdiv/internal/topology/topology_refiner_factory.cc +++ b/intern/opensubdiv/internal/topology/topology_refiner_factory.cc @@ -70,7 +70,7 @@ inline bool TopologyRefinerFactory::resizeComponentTopology // not see any edges, which will indicate to it that winding and edges are to // be reconstructed). // - // NOTE: it is a possible usecase when user code does not need crease at all + // NOTE: it is a possible use case when user code does not need crease at all // (which is the only real reason why converter would want to provide edges in // the case of partial topology specification). So it might be so getNumEdges // callback is nullptr. diff --git a/source/blender/blenkernel/intern/lib_override.c b/source/blender/blenkernel/intern/lib_override.c index ec53229057c..d2b2f01a81c 100644 --- a/source/blender/blenkernel/intern/lib_override.c +++ b/source/blender/blenkernel/intern/lib_override.c @@ -290,7 +290,7 @@ bool BKE_lib_override_library_create_from_tag(Main *bmain) reference_id = todo_id_iter->data; if (reference_id->newid == NULL) { /* If newid is already set, assume it has been handled by calling code. - * Only current usecase: re-using proxy ID when converting to liboverride. */ + * Only current use case: re-using proxy ID when converting to liboverride. */ if ((reference_id->newid = lib_override_library_create_from(bmain, reference_id)) == NULL) { success = false; break; @@ -426,9 +426,9 @@ void BKE_lib_override_library_dependencies_tag(Main *bmain, BKE_main_relations_create(bmain, 0); } - /* We tag all intermediary data-blocks in-between two overridden ones (e.g. if a shapekey - * has a driver using an armature object's bone, we need to override the shapekey/obdata, the - * objects using them, etc.) */ + /* We tag all intermediary data-blocks in-between two overridden ones (e.g. if a shape-key + * has a driver using an armature object's bone, we need to override the shape-key/obdata, + * the objects using them, etc.) */ lib_override_hierarchy_recursive_tag(bmain, id_root, tag, NULL); BKE_main_relations_free(bmain); @@ -681,7 +681,7 @@ bool BKE_lib_override_library_proxy_convert(Main *bmain, ViewLayer *view_layer, Object *ob_proxy) { - /* proxy_group, if defined, is the empty instanciating the collection from which the proxy is + /* proxy_group, if defined, is the empty instantiating the collection from which the proxy is * coming. */ Object *ob_proxy_group = ob_proxy->proxy_group; const bool is_override_instancing_object = ob_proxy_group != NULL; @@ -1761,9 +1761,9 @@ void BKE_lib_override_library_main_update(Main *bmain) { ID *id; - /* This temporary swap of G_MAIN is rather ugly, but neessary to avoid asserts checks in some RNA - * assignement functions, since those always use on G_MAIN when they need acces to a Main - * database. */ + /* This temporary swap of G_MAIN is rather ugly, + * but necessary to avoid asserts checks in some RNA assignment functions, + * since those always use on G_MAIN when they need access to a Main database. */ Main *orig_gmain = G_MAIN; G_MAIN = bmain; diff --git a/source/blender/blenkernel/intern/lib_remap.c b/source/blender/blenkernel/intern/lib_remap.c index c88513ec2af..f0031d4191d 100644 --- a/source/blender/blenkernel/intern/lib_remap.c +++ b/source/blender/blenkernel/intern/lib_remap.c @@ -73,11 +73,11 @@ typedef struct IDRemap { /* 'Output' data. */ short status; - /** Number of direct usecases that could not be remapped (e.g.: obdata when in edit mode). */ + /** Number of direct use cases that could not be remapped (e.g.: obdata when in edit mode). */ int skipped_direct; - /** Number of indirect usecases that could not be remapped. */ + /** Number of indirect use cases that could not be remapped. */ int skipped_indirect; - /** Number of skipped usecases that refcount the datablock. */ + /** Number of skipped use cases that refcount the data-block. */ int skipped_refcounted; } IDRemap; diff --git a/source/blender/editors/interface/interface_panel.c b/source/blender/editors/interface/interface_panel.c index 18b134ced4a..2917758c995 100644 --- a/source/blender/editors/interface/interface_panel.c +++ b/source/blender/editors/interface/interface_panel.c @@ -1903,7 +1903,7 @@ static void panels_layout_begin_clear_flags(ListBase *lb) void UI_panels_begin(const bContext *UNUSED(C), ARegion *region) { /* Set all panels as inactive, so that at the end we know which ones were used. Also - * clear other flags so we know later that their values were set for th current redraw. */ + * clear other flags so we know later that their values were set for the current redraw. */ panels_layout_begin_clear_flags(®ion->panels); } diff --git a/source/blender/editors/sculpt_paint/sculpt_pose.c b/source/blender/editors/sculpt_paint/sculpt_pose.c index 4081e7a962f..4b318a05591 100644 --- a/source/blender/editors/sculpt_paint/sculpt_pose.c +++ b/source/blender/editors/sculpt_paint/sculpt_pose.c @@ -539,10 +539,13 @@ static bool pose_face_sets_floodfill_cb( /* Public functions. */ -/* Calculate the pose origin and (Optionaly the pose factor) that is used when using the pose brush +/** + * Calculate the pose origin and (Optionally the pose factor) + * that is used when using the pose brush. * - * r_pose_origin must be a valid pointer. the r_pose_factor is optional. When set to NULL it won't - * be calculated. */ + * \param r_pose_origin: Must be a valid pointer. + * \param r_pose_factor: Optional, when set to NULL it won't be calculated. + */ void SCULPT_pose_calc_pose_data(Sculpt *sd, Object *ob, SculptSession *ss,