diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-03-24 02:27:12 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-03-24 02:36:42 +0300 |
commit | d0d251b53b7114a52d1253b022acb04d84e39507 (patch) | |
tree | 7cc5f718adfffe9158cd4cfbe20e2aa6ae3a341d /source/blender | |
parent | 9c280630c96e3fa7194166350bd7197d28c5428f (diff) |
Cleanup: spelling
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/curveprofile.c | 4 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/pbvh_bmesh.c | 10 | ||||
-rw-r--r-- | source/blender/blenlib/intern/math_geom.c | 2 | ||||
-rw-r--r-- | source/blender/blenlib/intern/threads.c | 2 | ||||
-rw-r--r-- | source/blender/depsgraph/intern/builder/deg_builder_nodes.cc | 2 | ||||
-rw-r--r-- | source/blender/depsgraph/intern/eval/deg_eval_runtime_backup.h | 2 | ||||
-rw-r--r-- | source/blender/editors/screen/screen_ops.c | 6 | ||||
-rw-r--r-- | source/blender/io/collada/AnimationImporter.cpp | 2 |
8 files changed, 15 insertions, 15 deletions
diff --git a/source/blender/blenkernel/intern/curveprofile.c b/source/blender/blenkernel/intern/curveprofile.c index 0ab45921c56..a748dfbab3e 100644 --- a/source/blender/blenkernel/intern/curveprofile.c +++ b/source/blender/blenkernel/intern/curveprofile.c @@ -932,8 +932,8 @@ void BKE_curveprofile_initialize(CurveProfile *profile, short segments_len) } /** - * Gives the distance to the next point in the widget's sampled table, in other words the length - * of the ith edge of the table. + * Gives the distance to the next point in the widgets sampled table, in other words the length + * of the \a 'i' edge of the table. * * \note Requires curveprofile_initialize or #BKE_curveprofile_update call before to fill table. */ diff --git a/source/blender/blenkernel/intern/pbvh_bmesh.c b/source/blender/blenkernel/intern/pbvh_bmesh.c index 65820566fd5..73042222436 100644 --- a/source/blender/blenkernel/intern/pbvh_bmesh.c +++ b/source/blender/blenkernel/intern/pbvh_bmesh.c @@ -895,11 +895,11 @@ static void long_edge_queue_edge_add_recursive( } if ((l_edge->radial_next != l_edge)) { - /* how much longer we need to be to consider for subdividing + /* How much longer we need to be to consider for subdividing * (avoids subdividing faces which are only *slightly* skinny) */ # define EVEN_EDGELEN_THRESHOLD 1.2f - /* how much the limit increases per recursion - * (avoids performing subdvisions too far away) */ + /* How much the limit increases per recursion + * (avoids performing subdivisions too far away). */ # define EVEN_GENERATION_SCALE 1.6f const float len_sq_cmp = len_sq * EVEN_EDGELEN_THRESHOLD; @@ -1687,7 +1687,7 @@ struct FastNodeBuildInfo { /** * Recursively split the node if it exceeds the leaf_limit. - * This function is multi-threadabe since each invocation applies + * This function is multi-thread-able since each invocation applies * to a sub part of the arrays. */ static void pbvh_bmesh_node_limit_ensure_fast( @@ -1811,7 +1811,7 @@ static void pbvh_bmesh_create_nodes_fast_recursive( } else { /* node does not have children so it's a leaf node, populate with faces and tag accordingly - * this is an expensive part but it's not so easily threadable due to vertex node indices */ + * this is an expensive part but it's not so easily thread-able due to vertex node indices */ const int cd_vert_node_offset = bvh->cd_vert_node_offset; const int cd_face_node_offset = bvh->cd_face_node_offset; diff --git a/source/blender/blenlib/intern/math_geom.c b/source/blender/blenlib/intern/math_geom.c index fa50bf202a8..4c0d7e08a3c 100644 --- a/source/blender/blenlib/intern/math_geom.c +++ b/source/blender/blenlib/intern/math_geom.c @@ -5356,7 +5356,7 @@ void vcloud_estimate_transform_v3(const int list_size, } if (lrot || lscale) { /* caller does not want rot nor scale, strange but legal */ /* so now do some reverse engineering and see if we can - * split rotation from scale -> Polardecompose */ + * split rotation from scale -> Polar-decompose. */ /* build 'projection' matrix */ float m[3][3], mr[3][3], q[3][3], qi[3][3]; float va[3], vb[3], stunt[3]; diff --git a/source/blender/blenlib/intern/threads.c b/source/blender/blenlib/intern/threads.c index 95a63ae5c4e..0a574ea34ca 100644 --- a/source/blender/blenlib/intern/threads.c +++ b/source/blender/blenlib/intern/threads.c @@ -862,7 +862,7 @@ void BLI_threaded_malloc_end(void) #if 0 /* UNUSED */ static bool check_is_threadripper2_alike_topology(void) { - /* NOTE: We hope operating system does not support CPU hotswap to + /* NOTE: We hope operating system does not support CPU hot-swap to * a different brand. And that SMP of different types is also not * encouraged by the system. */ static bool is_initialized = false; diff --git a/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc b/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc index 70cf0f757bc..f2108b3ad6c 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc +++ b/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc @@ -554,7 +554,7 @@ void DepsgraphNodeBuilder::build_object(int base_index, /* When there is already object in the dependency graph accumulate visibility an linked state * flags. Only do it on the object itself (apart from very special cases) and leave dealing with - * visibility of dependnecies to the visibility flush step which happens at the end of the build + * visibility of dependencies to the visibility flush step which happens at the end of the build * process. */ if (has_object) { IDNode *id_node = find_id_node(&object->id); diff --git a/source/blender/depsgraph/intern/eval/deg_eval_runtime_backup.h b/source/blender/depsgraph/intern/eval/deg_eval_runtime_backup.h index d1a30652b36..dde7d0b2782 100644 --- a/source/blender/depsgraph/intern/eval/deg_eval_runtime_backup.h +++ b/source/blender/depsgraph/intern/eval/deg_eval_runtime_backup.h @@ -51,7 +51,7 @@ class RuntimeBackup { * copied-on-write. In this case there is no need to backup or restore anything. * * It also allows to have restore() logic to be symmetrical to init() without need to worry - * that init() might not have happenned. + * that init() might not have happened. * * In practice this is used by audio system to lock audio while scene is going through * copy-on-write mechanism. */ diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c index fccdf3f06f3..2506c7472e3 100644 --- a/source/blender/editors/screen/screen_ops.c +++ b/source/blender/editors/screen/screen_ops.c @@ -3992,7 +3992,7 @@ static bool region_toggle_poll(bContext *C) { ScrArea *area = CTX_wm_area(C); - /* don't flip anything around in topbar */ + /* Don't flip anything around in top-bar. */ if (area && area->spacetype == SPACE_TOPBAR) { CTX_wm_operator_poll_msg_set(C, "Toggling regions in the Top-bar is not allowed"); return 0; @@ -4060,7 +4060,7 @@ static bool region_flip_poll(bContext *C) { ScrArea *area = CTX_wm_area(C); - /* don't flip anything around in topbar */ + /* Don't flip anything around in top-bar. */ if (area && area->spacetype == SPACE_TOPBAR) { CTX_wm_operator_poll_msg_set(C, "Flipping regions in the Top-bar is not allowed"); return 0; @@ -4191,7 +4191,7 @@ void ED_screens_footer_tools_menu_create(bContext *C, uiLayout *layout, void *UN uiItemO(layout, but_flip_str, ICON_NONE, "SCREEN_OT_region_flip"); - /* file browser should be fullscreen all the time, topbar should + /* File browser should be fullscreen all the time, top-bar should * never be. But other regions can be maximized/restored... */ if (!ELEM(sa->spacetype, SPACE_FILE, SPACE_TOPBAR)) { uiItemS(layout); diff --git a/source/blender/io/collada/AnimationImporter.cpp b/source/blender/io/collada/AnimationImporter.cpp index db73c1f37d6..2511d3c287d 100644 --- a/source/blender/io/collada/AnimationImporter.cpp +++ b/source/blender/io/collada/AnimationImporter.cpp @@ -977,7 +977,7 @@ void AnimationImporter::apply_matrix_curves(Object *ob, * the viewport aspect ratio (which is 1:1 ?) * XXX: check this: its probably wrong! * If both values are specified, then the aspect ration is simply xfov/yfov - * and if aspect ratio is efined, then .. well then its that one. + * and if aspect ratio is defined, then .. well then its that one. */ static const double get_aspect_ratio(const COLLADAFW::Camera *camera) { |