From 1b49b94e0d2dfd64ceb8eb4b2cf45c4fd857d21f Mon Sep 17 00:00:00 2001 From: luz paz Date: Fri, 5 Sep 2025 20:17:28 +0200 Subject: [PATCH] Cleanup: Fix typos in source/blender/io Fixes various user-facing and non-user-facing typos. Pull Request: https://projects.blender.org/blender/blender/pulls/145804 --- source/blender/io/usd/intern/usd_hierarchy_iterator.cc | 2 +- source/blender/io/usd/intern/usd_instancing_utils.cc | 2 +- source/blender/io/wavefront_obj/exporter/obj_export_nurbs.cc | 4 ++-- source/blender/io/wavefront_obj/importer/obj_import_nurbs.cc | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/source/blender/io/usd/intern/usd_hierarchy_iterator.cc b/source/blender/io/usd/intern/usd_hierarchy_iterator.cc index c7aff9984c6..d7fee9724b1 100644 --- a/source/blender/io/usd/intern/usd_hierarchy_iterator.cc +++ b/source/blender/io/usd/intern/usd_hierarchy_iterator.cc @@ -232,7 +232,7 @@ void USDHierarchyIterator::determine_point_instancers(const HierarchyContext *co "base geometry input itself. Both cases prevent valid point instancer export. If it's " "the former, enable 'As Instance' to avoid incorrect self-referencing."); - /* Clear any paths which had already been accumlated. */ + /* Clear any paths which had already been accumulated. */ Set> *paths = prototype_paths_.lookup_ptr(instancer_path); if (paths) { paths->clear(); diff --git a/source/blender/io/usd/intern/usd_instancing_utils.cc b/source/blender/io/usd/intern/usd_instancing_utils.cc index abbaa990bda..6741ee49e5f 100644 --- a/source/blender/io/usd/intern/usd_instancing_utils.cc +++ b/source/blender/io/usd/intern/usd_instancing_utils.cc @@ -120,7 +120,7 @@ void process_scene_graph_instances(const USDExportParams &export_params, pxr::Us pxr::UsdPrim dest_prim = stage->DefinePrim(copy_path, xform_type_tok); if (!dest_prim) { CLOG_ERROR(&LOG, - "Couldn't create destination prim %s for copying protoype %s", + "Couldn't create destination prim %s for copying prototype %s", copy_path.GetAsString().c_str(), proto_path.GetAsString().c_str()); continue; diff --git a/source/blender/io/wavefront_obj/exporter/obj_export_nurbs.cc b/source/blender/io/wavefront_obj/exporter/obj_export_nurbs.cc index 290a8fa7ca4..21867c64f7b 100644 --- a/source/blender/io/wavefront_obj/exporter/obj_export_nurbs.cc +++ b/source/blender/io/wavefront_obj/exporter/obj_export_nurbs.cc @@ -26,7 +26,7 @@ namespace blender::io::obj { /** \name Utility * \{ */ -/* Find the multiplicity entry with the valid span occuring on the right side of the related +/* Find the multiplicity entry with the valid span occurring on the right side of the related * breakpoint/knot. */ static int find_leftmost_span(const int8_t order, const Span multiplicity) { @@ -39,7 +39,7 @@ static int find_leftmost_span(const int8_t order, const Span multiplicity) return index; } -/* Find the multiplicity entry with the valid span occuring on the left side of the related +/* Find the multiplicity entry with the valid span occurring on the left side of the related * breakpoint/knot. */ static int find_rightmost_span(const int8_t order, const Span multiplicity) { diff --git a/source/blender/io/wavefront_obj/importer/obj_import_nurbs.cc b/source/blender/io/wavefront_obj/importer/obj_import_nurbs.cc index 488f7a2fa3e..7587af0931e 100644 --- a/source/blender/io/wavefront_obj/importer/obj_import_nurbs.cc +++ b/source/blender/io/wavefront_obj/importer/obj_import_nurbs.cc @@ -199,7 +199,7 @@ static bool detect_knot_mode_cyclic(const int8_t degree, } if (is_clamped) { - /* Clamped curves are discontinous at the ends and have no overlapping spans. */ + /* Clamped curves are discontinuous at the ends and have no overlapping spans. */ return true; }