Commit: a4a9d14ba71100259f19bd62e8c2f27cd8b7862f Author: luzpaz Date: Fri Feb 5 19:07:03 2021 -0800 Branches: master https://developer.blender.org/rBa4a9d14ba71100259f19bd62e8c2f27cd8b7862f
UI: Fix Typos in Comments and Docs Approximately 91 spelling corrections, almost all in comments. Differential Revision: https://developer.blender.org/D10288 Reviewed by Harley Acheson =================================================================== M source/blender/blendthumb/src/Dll.cpp M source/blender/blenkernel/BKE_attribute_access.hh M source/blender/blenkernel/BKE_lib_query.h M source/blender/blenkernel/BKE_subdiv_ccg.h M source/blender/blenkernel/intern/anim_sys.c M source/blender/blenkernel/intern/brush.c M source/blender/blenkernel/intern/constraint.c M source/blender/blenkernel/intern/fcurve.c M source/blender/blenkernel/intern/mask_evaluate.c M source/blender/blenkernel/intern/mesh.c M source/blender/blenkernel/intern/mesh_fair.cc M source/blender/blenkernel/intern/mesh_validate.cc M source/blender/blenkernel/intern/paint.c M source/blender/blenkernel/intern/particle.c M source/blender/blenkernel/intern/tracking_test.cc M source/blender/blenkernel/intern/volume.cc M source/blender/blenlib/intern/BLI_kdopbvh.c M source/blender/blenlib/intern/path_util.c M source/blender/bmesh/intern/bmesh_opdefines.c M source/blender/datatoc/CMakeLists.txt M source/blender/depsgraph/intern/builder/deg_builder_relations.cc M source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_scene.h M source/blender/draw/engines/eevee/eevee_lut_gen.c M source/blender/draw/engines/eevee/eevee_materials.c M source/blender/draw/engines/eevee/eevee_motion_blur.c M source/blender/draw/engines/eevee/eevee_private.h M source/blender/draw/engines/eevee/eevee_shaders.c M source/blender/draw/engines/eevee/shaders/effect_motion_blur_frag.glsl M source/blender/draw/engines/eevee/shaders/raytrace_lib.glsl M source/blender/draw/engines/gpencil/shaders/gpencil_common_lib.glsl M source/blender/draw/engines/gpencil/shaders/gpencil_vfx_frag.glsl M source/blender/draw/engines/image/image_shader.c M source/blender/draw/engines/overlay/overlay_extra.c M source/blender/draw/engines/overlay/overlay_shader.c M source/blender/draw/engines/overlay/shaders/antialiasing_frag.glsl M source/blender/draw/engines/overlay/shaders/extra_vert.glsl M source/blender/draw/engines/overlay/shaders/extra_wire_vert.glsl M source/blender/draw/engines/overlay/shaders/wireframe_vert.glsl M source/blender/draw/engines/workbench/workbench_shader.c M source/blender/draw/intern/draw_cache_extract_mesh.c M source/blender/draw/intern/shaders/common_smaa_lib.glsl M source/blender/editors/animation/anim_motion_paths.c M source/blender/editors/armature/meshlaplacian.c M source/blender/editors/curve/editcurve.c M source/blender/editors/gpencil/gpencil_vertex_paint.c M source/blender/editors/include/ED_fileselect.h M source/blender/editors/include/ED_keyframes_edit.h M source/blender/editors/interface/interface_handlers.c M source/blender/editors/object/object_relations.c M source/blender/editors/render/render_opengl.c M source/blender/editors/space_file/file_draw.c M source/blender/editors/space_view3d/space_view3d.c M source/blender/editors/transform/transform_convert_sequencer.c M source/blender/freestyle/intern/python/BPy_Operators.cpp M source/blender/freestyle/intern/view_map/ViewMap.h M source/blender/gpu/GPU_batch.h M source/blender/gpu/opengl/gl_backend.cc M source/blender/gpu/opengl/gl_context.hh M source/blender/gpu/shaders/gpu_shader_2D_widget_base_vert.glsl M source/blender/makesdna/DNA_brush_types.h M source/blender/makesdna/DNA_cloth_types.h M source/blender/makesdna/DNA_gpencil_modifier_types.h M source/blender/makesdna/DNA_modifier_defaults.h M source/blender/makesrna/intern/rna_access_compare_override.c M source/blender/makesrna/intern/rna_mesh_api.c M source/blender/makesrna/intern/rna_nodetree.c M source/blender/makesrna/intern/rna_object.c M source/blender/makesrna/intern/rna_space.c M source/blender/modifiers/intern/MOD_surfacedeform.c M source/blender/python/bmesh/bmesh_py_types.c M source/blender/render/intern/pipeline.c M source/blender/sequencer/SEQ_render.h M source/blender/sequencer/intern/image_cache.c M source/blender/windowmanager/intern/wm_draw.c M source/blender/windowmanager/intern/wm_event_system.c M source/creator/CMakeLists.txt =================================================================== diff --git a/source/blender/blendthumb/src/Dll.cpp b/source/blender/blendthumb/src/Dll.cpp index 8a8ae8c9996..6516540034e 100644 --- a/source/blender/blendthumb/src/Dll.cpp +++ b/source/blender/blendthumb/src/Dll.cpp @@ -160,7 +160,7 @@ struct REGISTRY_ENTRY { PCWSTR pszValueName; DWORD dwValueType; PCWSTR pszData; // These two fields could/should have been a union, but C++ - DWORD dwData; // only lets you initalize the first field in a union. + DWORD dwData; // only lets you initialize the first field in a union. }; // Creates a registry key (if needed) and sets the default value of the key diff --git a/source/blender/blenkernel/BKE_attribute_access.hh b/source/blender/blenkernel/BKE_attribute_access.hh index bca96aac665..55c8b36669d 100644 --- a/source/blender/blenkernel/BKE_attribute_access.hh +++ b/source/blender/blenkernel/BKE_attribute_access.hh @@ -128,7 +128,7 @@ class WriteAttribute { void *array_buffer_ = nullptr; /* True, when the buffer points to a temporary array. */ bool array_is_temporary_ = false; - /* This helps to protect agains forgetting to apply changes done to the array. */ + /* This helps to protect against forgetting to apply changes done to the array. */ bool array_should_be_applied_ = false; public: diff --git a/source/blender/blenkernel/BKE_lib_query.h b/source/blender/blenkernel/BKE_lib_query.h index b6abe0bf18c..bdda5bb0372 100644 --- a/source/blender/blenkernel/BKE_lib_query.h +++ b/source/blender/blenkernel/BKE_lib_query.h @@ -77,7 +77,7 @@ enum { IDWALK_CB_USER = (1 << 8), /** * This ID usage is not refcounted, but at least one user should be generated by it (to avoid - * e.g. loosing the used ID on save/reload). + * e.g. losing the used ID on save/reload). * Callback is responsible to deal accordingly with #ID.us if needed. */ IDWALK_CB_USER_ONE = (1 << 9), diff --git a/source/blender/blenkernel/BKE_subdiv_ccg.h b/source/blender/blenkernel/BKE_subdiv_ccg.h index f0ca154c4b9..b7d4ab8d8ed 100644 --- a/source/blender/blenkernel/BKE_subdiv_ccg.h +++ b/source/blender/blenkernel/BKE_subdiv_ccg.h @@ -293,7 +293,7 @@ bool BKE_subdiv_ccg_check_coord_valid(const SubdivCCG *subdiv_ccg, const SubdivC * neighbor elements in total). * * - For the corner element a single neighboring element on every adjacent edge, single from - * every gird. + * every grid. * * - For the boundary element two neighbor elements on the boundary (from same grid) and one * element inside of every neighboring grid. */ diff --git a/source/blender/blenkernel/intern/anim_sys.c b/source/blender/blenkernel/intern/anim_sys.c index aef5fad269f..965dc4e0bec 100644 --- a/source/blender/blenkernel/intern/anim_sys.c +++ b/source/blender/blenkernel/intern/anim_sys.c @@ -1594,7 +1594,7 @@ static bool nla_combine_get_inverted_strip_value(const int mix_mode, if (IS_EQF(base_value, 0.0f)) { base_value = 1.0f; } - /* Divison by zero. */ + /* Division by zero. */ if (IS_EQF(lower_value, 0.0f)) { /* Resolve 0/0 to 1. */ if (IS_EQF(blended_value, 0.0f)) { diff --git a/source/blender/blenkernel/intern/brush.c b/source/blender/blenkernel/intern/brush.c index 28c8ae3e416..9fbefacbece 100644 --- a/source/blender/blenkernel/intern/brush.c +++ b/source/blender/blenkernel/intern/brush.c @@ -375,7 +375,7 @@ static int brush_undo_preserve_cb(LibraryIDLinkCallbackData *cb_data) static void brush_undo_preserve(BlendLibReader *reader, ID *id_new, ID *id_old) { - /* Whole Brush is preserved accross undo's. */ + /* Whole Brush is preserved across undos. */ BKE_lib_id_swap(NULL, id_new, id_old); /* `id_new` now has content from `id_old`, we need to ensure those old ID pointers are valid. diff --git a/source/blender/blenkernel/intern/constraint.c b/source/blender/blenkernel/intern/constraint.c index 0bf27a50a32..d04a27adec8 100644 --- a/source/blender/blenkernel/intern/constraint.c +++ b/source/blender/blenkernel/intern/constraint.c @@ -4693,7 +4693,7 @@ static void pivotcon_evaluate(bConstraint *con, bConstraintOb *cob, ListBase *ta copy_m3_m4(rotMat, cob->matrix); normalize_m3(rotMat); - /* correct the pivot by the rotation axis otherwise the pivot translates when it shouldnt */ + /* correct the pivot by the rotation axis otherwise the pivot translates when it shouldn't */ mat3_normalized_to_axis_angle(axis, &angle, rotMat); if (angle) { float dvec[3]; diff --git a/source/blender/blenkernel/intern/fcurve.c b/source/blender/blenkernel/intern/fcurve.c index ce710e2f7d4..8e1fa9732ea 100644 --- a/source/blender/blenkernel/intern/fcurve.c +++ b/source/blender/blenkernel/intern/fcurve.c @@ -1110,7 +1110,7 @@ void fcurve_samples_to_keyframes(FCurve *fcu, const int start, const int end) if (fcu->fpt == NULL) { /* No data to unbake. */ - CLOG_ERROR(&LOG, "Error: Curve containts no baked keyframes"); + CLOG_ERROR(&LOG, "Error: Curve contains no baked keyframes"); return; } diff --git a/source/blender/blenkernel/intern/mask_evaluate.c b/source/blender/blenkernel/intern/mask_evaluate.c index a42836b5399..69f60ca0384 100644 --- a/source/blender/blenkernel/intern/mask_evaluate.c +++ b/source/blender/blenkernel/intern/mask_evaluate.c @@ -665,7 +665,7 @@ static float (*mask_spline_feather_differentiated_points_with_resolution__double len_feather = len_v2v2(bezt_prev->vec[1], bezt_curr->vec[1]); - /* scale by chane in length */ + /* scale by change in length */ len_scalar = len_feather / len_base; dist_ensure_v2_v2fl(bezt_prev->vec[2], bezt_prev->vec[1], diff --git a/source/blender/blenkernel/intern/mesh.c b/source/blender/blenkernel/intern/mesh.c index 622f6d7a7b8..c15484f8e72 100644 --- a/source/blender/blenkernel/intern/mesh.c +++ b/source/blender/blenkernel/intern/mesh.c @@ -1219,7 +1219,7 @@ int test_index_face(MFace *mface, CustomData *fdata, int mfindex, int nr) } /* Check corrupt cases, bow-tie geometry, - * cant handle these because edge data wont exist so just return 0. */ + * can't handle these because edge data won't exist so just return 0. */ if (nr == 3) { if ( /* real edges */ diff --git a/source/blender/blenkernel/intern/mesh_fair.cc b/source/blender/blenkernel/intern/mesh_fair.cc index 75dd396d10a..ac6dd96ed90 100644 --- a/source/blender/blenkernel/intern/mesh_fair.cc +++ b/source/blender/blenkernel/intern/mesh_fair.cc @@ -475,7 +475,7 @@ static void prefair_and_fair_vertices(FairingContext *fairing_context, /* Fair. */ VoronoiVertexWeight *voronoi_vertex_weights = new VoronoiVertexWeight(fairing_context); - /* TODO: Implemente cotangent loop weights. */ + /* TODO: Implement cotangent loop weights. */ fairing_context->fair_vertices( affected_vertices, depth, voronoi_vertex_weights, uniform_loop_weights); diff --git a/source/blender/blenkernel/intern/mesh_validate.cc b/source/blender/blenkernel/intern/mesh_validate.cc index 0aaca33124a..0b0aeb50d37 100644 --- a/source/blender/blenkernel/intern/mesh_validate.cc +++ b/source/blender/blenkernel/intern/mesh_validate.cc @@ -263,6 +263,6 @@ void BKE_mesh_calc_edges(Mesh *mesh, bool keep_existing_edges, const bool select mesh->totedge = new_totedge; mesh->medge = new_edges.data(); - /* Explicitely clear edge maps, because that way it can be parallelized. */ + /* Explicitly clear edge maps, because that way it can be parallelized. */ clear_hash_tables(edge_maps); } diff --git a/source/blender/blenkernel/intern/paint.c b/source/blender/blenkernel/intern/paint.c index 13f4304f923..98ee9e1da75 100644 --- a/source/blender/blenkernel/intern/paint.c +++ b/source/blender/blenkernel/intern/paint.c @@ -127,7 +127,7 @@ static void palette_blend_read_data(BlendDataReader *reader, ID *id) static void palette_undo_preserve(BlendLibReader *UNUSED(reader), ID *id_new, ID *id_old) { - /* Whole Palette is preserved accross undo's, and it has no extra pointer, simple. */ + /* Whole Palette is preserved across undos, and it has no extra pointer, simple. */ /* Note: We do not care about potential internal references to self here, Palette has none. */ /* Note: We do not swap IDProperties, as dealing with potential ID pointers in those would be * fairly delicate. */ diff --git a/source/blender/blenkernel/intern/particle.c b/source/blender/blenkernel/intern/particle.c index ec3b6198d7c..21d1e070389 100644 --- a/source/blender/blenkernel/intern/particle.c +++ b/source/blender/blenkernel/intern/particle.c @@ -2304,7 +2304,7 @@ void psys_particle_on_emitter(ParticleSystemModifierData *psmd, } return; } - /* we cant use the num_dmcache */ + /* we can't use the num_dmcache */ psys_particle_on_dm( psmd->mesh_final, from, index, index_dmcache, fuv, foffset, vec, nor, utan, vtan, orco); } diff --git a/source/blender/blenkernel/intern/tracking_test.cc b/source/blender/blenkernel/intern/tracking_test.cc index 2877d8db358..a3845dcad8f 100644 --- a/source/blender/blenkernel/intern/tracking_test.cc +++ b/source/blender/blenkernel/intern/tracking_test.cc @@ -138,7 +138,7 @@ TEST_F(TrackingTest, BKE_tracking_marker_get_interpolated) BKE_tracking_track_free(&track); } - /* More comprehensive test, which resembles real life trackign scenario better. */ + /* More comprehensive test, which resembles real-life tracking scenario better. */ { MovieTrackingTrack track = {nullptr}; diff --git a/source/blender/blenkernel/intern/volume.cc b/source/blender/blenkernel/intern/volume.cc index 77cfb3ffea5..edf40ab3861 100644 --- a/source/blender/blenkernel/intern/volume.cc +++ b/source/blender/blenkernel/intern/volume.cc @@ -145,7 +145,7 @@ static struct VolumeFileCache { /* Has the grid tree been loaded? */ bool is_loaded; - /* Error message if an error occured during loading. */ + /* Error message if an error occurred while loading. */ std::string error_msg; /* User counting. */ int num_metadata_users; diff --git a/source/blender/blenlib/intern/BLI_kdopbvh.c b/source/blender/blenlib/intern/BLI_kdopbvh.c index e1e71b02615..a0e94e00634 100644 --- a/source/blender/b @@ Diff output truncated at 10240 characters. @@ _______________________________________________ Bf-blender-cvs mailing list [email protected] https://lists.blender.org/mailman/listinfo/bf-blender-cvs
