[Bf-blender-cvs] [c0a6bc19794] master: Spelling: Loose Versus Lose
Harley Acheson
noreply at git.blender.org
Mon Oct 19 18:34:57 CEST 2020
Commit: c0a6bc19794c69843c38451c762e91bc10136e0f
Author: Harley Acheson
Date: Mon Oct 19 09:15:34 2020 -0700
Branches: master
https://developer.blender.org/rBc0a6bc19794c69843c38451c762e91bc10136e0f
Spelling: Loose Versus Lose
Corrects incorrect usages of the word 'loose' when 'lose' was required.
Differential Revision: https://developer.blender.org/D9243
Reviewed by Campbell Barton
===================================================================
M source/blender/blenkernel/intern/lib_id.c
M source/blender/blenkernel/intern/mesh_evaluate.c
M source/blender/blenkernel/intern/scene.c
M source/blender/blenloader/intern/readfile.c
M source/blender/blenloader/intern/versioning_290.c
M source/blender/bmesh/operators/bmo_extrude.c
M source/blender/draw/engines/eevee/shaders/surface_frag.glsl
M source/blender/draw/intern/draw_instance_data.c
M source/blender/draw/intern/draw_manager.h
M source/blender/editors/animation/anim_motion_paths.c
M source/blender/editors/mesh/editmesh_knife.c
M source/blender/editors/object/object_add.c
M source/blender/editors/object/object_data_transform.c
M source/blender/editors/render/render_update.c
M source/blender/editors/space_view3d/view3d_view.c
M source/blender/editors/transform/transform_convert_object.c
M source/blender/imbuf/intern/thumbs.c
M source/blender/io/collada/MeshImporter.cpp
M source/blender/makesrna/intern/rna_scene_api.c
M source/blender/python/intern/bpy_interface.c
M source/blender/python/intern/bpy_operator.c
M source/blender/sequencer/intern/sequencer.c
M source/blender/windowmanager/intern/wm_keymap.c
===================================================================
diff --git a/source/blender/blenkernel/intern/lib_id.c b/source/blender/blenkernel/intern/lib_id.c
index cfe81531204..27422440cd5 100644
--- a/source/blender/blenkernel/intern/lib_id.c
+++ b/source/blender/blenkernel/intern/lib_id.c
@@ -2050,7 +2050,7 @@ void BKE_library_make_local(Main *bmain,
/* Proxies only work when the proxified object is linked-in from a library. */
if (ob->proxy->id.lib == NULL) {
CLOG_WARN(&LOG,
- "proxy object %s will loose its link to %s, because the "
+ "proxy object %s will lose its link to %s, because the "
"proxified object is local.",
id->newid->name,
ob->proxy->id.name);
@@ -2064,7 +2064,7 @@ void BKE_library_make_local(Main *bmain,
* was not used locally would be a nasty bug! */
if (is_local || is_lib) {
CLOG_WARN(&LOG,
- "made-local proxy object %s will loose its link to %s, "
+ "made-local proxy object %s will lose its link to %s, "
"because the linked-in proxy is referenced (is_local=%i, is_lib=%i).",
id->newid->name,
ob->proxy->id.name,
diff --git a/source/blender/blenkernel/intern/mesh_evaluate.c b/source/blender/blenkernel/intern/mesh_evaluate.c
index 0aa8f7ca260..6b3a85cc364 100644
--- a/source/blender/blenkernel/intern/mesh_evaluate.c
+++ b/source/blender/blenkernel/intern/mesh_evaluate.c
@@ -1663,7 +1663,7 @@ void BKE_mesh_normals_loop_split(const MVert *mverts,
* Note that currently we only have two values for second loop of sharp edges.
* However, if needed, we can store the negated value of loop index instead of INDEX_INVALID
* to retrieve the real value later in code).
- * Note also that lose edges always have both values set to 0! */
+ * Note also that loose edges always have both values set to 0! */
int(*edge_to_loops)[2] = MEM_calloc_arrayN((size_t)numEdges, sizeof(*edge_to_loops), __func__);
/* Simple mapping from a loop to its polygon index. */
diff --git a/source/blender/blenkernel/intern/scene.c b/source/blender/blenkernel/intern/scene.c
index 5e5f325d7d8..d0e731fec1b 100644
--- a/source/blender/blenkernel/intern/scene.c
+++ b/source/blender/blenkernel/intern/scene.c
@@ -1595,7 +1595,7 @@ void BKE_scene_graph_update_for_newframe(Depsgraph *depsgraph)
*
* NOTE: Only update for new frame on first iteration. Second iteration is for ensuring user
* edits from callback are properly taken into account. Doing a time update on those would
- * loose any possible unkeyed changes made by the handler. */
+ * lose any possible unkeyed changes made by the handler. */
if (pass == 0) {
const float ctime = BKE_scene_frame_get(scene);
DEG_evaluate_on_framechange(depsgraph, ctime);
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 24bbb50968a..c49808c3718 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -3308,7 +3308,7 @@ static void lib_link_object(BlendLibReader *reader, Object *ob)
* the material list size gets out of sync. T22663. */
if (ob->data && ob->id.lib != ((ID *)ob->data)->lib) {
const short *totcol_data = BKE_object_material_len_p(ob);
- /* Only expand so as not to loose any object materials that might be set. */
+ /* Only expand so as not to lose any object materials that might be set. */
if (totcol_data && (*totcol_data > ob->totcol)) {
/* printf("'%s' %d -> %d\n", ob->id.name, ob->totcol, *totcol_data); */
BKE_object_material_resize(reader->main, ob, *totcol_data, false);
diff --git a/source/blender/blenloader/intern/versioning_290.c b/source/blender/blenloader/intern/versioning_290.c
index 58dcce72823..c6760adfd3f 100644
--- a/source/blender/blenloader/intern/versioning_290.c
+++ b/source/blender/blenloader/intern/versioning_290.c
@@ -245,7 +245,7 @@ void do_versions_after_linking_290(Main *bmain, ReportList *UNUSED(reports))
* To play safe we move all the inputs beyond 18 to their rightful new place.
* In case users are doing unexpected things with not-really supported keyframeable channels.
*
- * The for loop for the input ids is at the top level otherwise we loose the animation
+ * The for loop for the input ids is at the top level otherwise we lose the animation
* keyframe data.
* */
for (int input_id = 21; input_id >= 18; input_id--) {
diff --git a/source/blender/bmesh/operators/bmo_extrude.c b/source/blender/bmesh/operators/bmo_extrude.c
index 846cd0c7ed0..0a08b340e87 100644
--- a/source/blender/bmesh/operators/bmo_extrude.c
+++ b/source/blender/bmesh/operators/bmo_extrude.c
@@ -613,7 +613,7 @@ void bmo_extrude_face_region_exec(BMesh *bm, BMOperator *op)
e = v->e;
BMEdge *e_other = BM_DISK_EDGE_NEXT(e, v);
if ((e_other == e) || (BM_DISK_EDGE_NEXT(e_other, v) == e)) {
- /* Lose edge or BMVert is edge pair. */
+ /* Loose edge or BMVert is edge pair. */
BM_edge_collapse(bm, BMO_elem_flag_test(bm, e, EXT_TAG) ? e : e_other, v, true, true);
}
else {
diff --git a/source/blender/draw/engines/eevee/shaders/surface_frag.glsl b/source/blender/draw/engines/eevee/shaders/surface_frag.glsl
index b19e50c9d31..d0297c8cb7f 100644
--- a/source/blender/draw/engines/eevee/shaders/surface_frag.glsl
+++ b/source/blender/draw/engines/eevee/shaders/surface_frag.glsl
@@ -65,7 +65,7 @@ void main()
* Just disable USE_SSS when USE_REFRACTION is enabled. */
# ifdef USE_REFRACTION
/* SSRefraction pass is done after the SSS pass.
- * In order to not loose the diffuse light totally we
+ * In order to not lose the diffuse light totally we
* need to merge the SSS radiance to the main radiance. */
fac = 1.0;
# endif
diff --git a/source/blender/draw/intern/draw_instance_data.c b/source/blender/draw/intern/draw_instance_data.c
index 0654f949e52..4050a5f8b69 100644
--- a/source/blender/draw/intern/draw_instance_data.c
+++ b/source/blender/draw/intern/draw_instance_data.c
@@ -24,7 +24,7 @@
* DRW Instance Data Manager
* This is a special memory manager that keeps memory blocks ready to send as VBO data in one
* continuous allocation. This way we avoid feeding #GPUBatch each instance data one by one and
- * unnecessary memcpy. Since we loose which memory block was used each #DRWShadingGroup we need to
+ * unnecessary memcpy. Since we lose which memory block was used each #DRWShadingGroup we need to
* redistribute them in the same order/size to avoid to realloc each frame. This is why
* #DRWInstanceDatas are sorted in a list for each different data size.
*/
diff --git a/source/blender/draw/intern/draw_manager.h b/source/blender/draw/intern/draw_manager.h
index e40328c0f2e..8e505d5df71 100644
--- a/source/blender/draw/intern/draw_manager.h
+++ b/source/blender/draw/intern/draw_manager.h
@@ -417,7 +417,7 @@ struct DRWView {
* In order to keep a cache friendly data structure,
* we alloc most of our little data into chunks of multiple item.
* Iteration, allocation and memory usage are better.
- * We loose a bit of memory by allocating more than what we need
+ * We lose a bit of memory by allocating more than what we need
* but it's counterbalanced by not needing the linked-list pointers
* for each item.
**/
diff --git a/source/blender/editors/animation/anim_motion_paths.c b/source/blender/editors/animation/anim_motion_paths.c
index 2a37302872a..088ac9dbcba 100644
--- a/source/blender/editors/animation/anim_motion_paths.c
+++ b/source/blender/editors/animation/anim_motion_paths.c
@@ -402,7 +402,7 @@ void animviz_calc_motionpaths(Depsgraph *depsgraph,
/* TODO: Create a copy of background depsgraph that only contain these entities,
* and only evaluates them.
*
- * For until that is done we force dependency graph to not be active, so we don't loose unkeyed
+ * For until that is done we force dependency graph to not be active, so we don't lose unkeyed
* changes during updating the motion path.
* This still doesn't include unkeyed changes to the path itself, but allows to have updates in
* an environment when auto-keying and pose paste is used. */
diff --git a/source/blender/editors/mesh/editmesh_knife.c b/source/blender/editors/mesh/editmesh_knife.c
index dde422074a7..0ab1c926189 100644
--- a/source/blender/editors/mesh/editmesh_knife.c
+++ b/source/blender/editors/mesh/editmesh_knife.c
@@ -3193,7 +3193,7 @@ void EDBM_mesh_knife(bContext *C, LinkNode *polys, bool use_tag, bool cut_throug
keep_search = true;
}
else {
- /* don't loose time on this face again, set it as outside */
+ /* don't lose time on this face again, set it as outside */
F_ISECT_SET_OUTSIDE(f);
}
}
diff --git a/source/blender/editors/object/object_add.c b/source/blender/editors/object/object_add.c
index 0ec7ca52263..eb2f5f8ca51 100644
--- a/source/blender/editors/object/object_add.c
+++ b/source/blender/editors/object/object_add.c
@@ -2348,7 +2348,7 @@ static void object_data_convert_ensure_curve_cache(Depsgraph *depsgraph, Scene *
*/
if (ELEM(ob->type, OB_SURF, OB_CURVE, OB_FONT)) {
/* We need 'for render' ON here, to enable computing bevel dipslist if needed.
- * Also makes sense anyway, we would not want e.g. to loose hidden parts etc. */
+ * Also makes sense anyway, we would not want e.g. to lose hidden parts etc. */
BKE_displist_make_curveTypes(depsgraph, scene, ob, true, false);
}
else if (ob->type == OB_MBALL) {
diff --git a/source/blender/editors/object/object_data_transform.c b/source/blender/editors/object/object_data_transform.c
index 8ea35c7a92c..72dde7b734b 100644
--- a/source/blender/editors/object/object_data_transform.c
+++ b/source/blender/editors/object/object_data_transform.c
@@ -24,7 +24,7 @@
*
* This is a small API to store & apply transformations to object data,
* where a transformation matrix can be continually applied ontop of the original values
- * so we
@@ Diff output truncated at 10240 characters. @@
More information about the Bf-blender-cvs
mailing list