From 2425401a594649abff263d49b902e335a7d614e0 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 4 Aug 2019 12:51:44 +1000 Subject: Cleanup: spelling --- source/blender/blenkernel/intern/object.c | 2 +- source/blender/blenkernel/intern/studiolight.c | 2 +- source/blender/blenloader/intern/versioning_260.c | 2 +- source/blender/compositor/operations/COM_TextureOperation.cpp | 4 ++-- source/blender/editors/interface/interface_widgets.c | 4 ++-- source/blender/editors/physics/particle_edit.c | 2 +- source/blender/editors/space_outliner/outliner_draw.c | 4 ++-- source/blender/editors/uvedit/uvedit_parametrizer.c | 2 +- source/blender/freestyle/intern/geometry/GeomCleaner.h | 8 ++++---- source/blender/freestyle/intern/scene_graph/NodeTransform.h | 4 ++-- source/blender/freestyle/intern/stroke/AdvancedFunctions1D.h | 2 +- source/blender/freestyle/intern/stroke/AdvancedStrokeShaders.h | 2 +- source/blender/freestyle/intern/stroke/BasicStrokeShaders.h | 4 ++-- source/blender/makesrna/intern/rna_pose.c | 2 +- source/blender/modifiers/intern/MOD_correctivesmooth.c | 2 +- source/blender/python/mathutils/mathutils_Matrix.c | 10 +++++----- source/blender/python/mathutils/mathutils_Quaternion.c | 4 ++-- source/blender/python/mathutils/mathutils_Vector.c | 6 +++--- source/blender/render/intern/source/imagetexture.c | 2 +- 19 files changed, 34 insertions(+), 34 deletions(-) (limited to 'source/blender') diff --git a/source/blender/blenkernel/intern/object.c b/source/blender/blenkernel/intern/object.c index eb2f23a7b2a..d95c02cdf7f 100644 --- a/source/blender/blenkernel/intern/object.c +++ b/source/blender/blenkernel/intern/object.c @@ -2226,7 +2226,7 @@ static bool ob_parcurve(Object *ob, Object *par, float mat[4][4]) * dependency cycles. We can't correct anything from here, since that would * cause a threading conflicts. * - * TODO(sergey): Somce of the legit looking cases like T56619 need to be + * TODO(sergey): Some of the legit looking cases like T56619 need to be * looked into, and maybe curve cache (and other dependencies) are to be * evaluated prior to conversion. */ if (par->runtime.curve_cache == NULL) { diff --git a/source/blender/blenkernel/intern/studiolight.c b/source/blender/blenkernel/intern/studiolight.c index 20f2a9be53b..6e83f5d75e2 100644 --- a/source/blender/blenkernel/intern/studiolight.c +++ b/source/blender/blenkernel/intern/studiolight.c @@ -69,7 +69,7 @@ static int last_studiolight_id = 0; /* * Disable this option so caches are not loaded from disk - * Do not checkin with this commented out + * Do not checking with this commented out. */ #define STUDIOLIGHT_LOAD_CACHED_FILES diff --git a/source/blender/blenloader/intern/versioning_260.c b/source/blender/blenloader/intern/versioning_260.c index 7b0aab99aea..6f5c37d716e 100644 --- a/source/blender/blenloader/intern/versioning_260.c +++ b/source/blender/blenloader/intern/versioning_260.c @@ -264,7 +264,7 @@ static void do_versions_nodetree_multi_file_output_format_2_62_1(Scene *sce, bNo /* if z buffer is saved, change the image type to multilayer exr. * XXX this is slightly messy, Z buffer was ignored before for anything but EXR and IRIS ... - * i'm just assuming here that IRIZ means IRIS with z buffer ... + * I'm just assuming here that IRIZ means IRIS with z buffer ... */ if (old_data && ELEM(old_data->im_format.imtype, R_IMF_IMTYPE_IRIZ, R_IMF_IMTYPE_OPENEXR)) { char sockpath[FILE_MAX]; diff --git a/source/blender/compositor/operations/COM_TextureOperation.cpp b/source/blender/compositor/operations/COM_TextureOperation.cpp index f2d78845b6c..e09ccbb016a 100644 --- a/source/blender/compositor/operations/COM_TextureOperation.cpp +++ b/source/blender/compositor/operations/COM_TextureOperation.cpp @@ -111,9 +111,9 @@ void TextureBaseOperation::executePixelSampled(float output[4], float u = (x - cx) / this->getWidth() * 2; float v = (y - cy) / this->getHeight() * 2; - /* When no interpolation/filtering happens in multitex() foce nearest interpolation. + /* When no interpolation/filtering happens in multitex() force nearest interpolation. * We do it here because (a) we can't easily say multitex() that we want nearest - * interpolation and (b) in such configuration multitex() sinply floor's the value + * interpolation and (b) in such configuration multitex() simply floor's the value * which often produces artifacts. */ if (m_texture != NULL && (m_texture->imaflag & TEX_INTERPOL) == 0) { diff --git a/source/blender/editors/interface/interface_widgets.c b/source/blender/editors/interface/interface_widgets.c index 0bf8247dc17..55ec10b03dc 100644 --- a/source/blender/editors/interface/interface_widgets.c +++ b/source/blender/editors/interface/interface_widgets.c @@ -4633,8 +4633,8 @@ void ui_draw_but(const bContext *C, ARegion *ar, uiStyle *style, uiBut *but, rct else { /* with menu arrows */ - /* we could use a flag for this, but for now just check size, - * add updown arrows if there is room. */ + /* We could use a flag for this, but for now just check size, + * add up/down arrows if there is room. */ if ((!but->str[0] && but->icon && (BLI_rcti_size_x(rect) < BLI_rcti_size_y(rect) + 2)) || /* disable for brushes also */ (but->flag & UI_BUT_ICON_PREVIEW)) { diff --git a/source/blender/editors/physics/particle_edit.c b/source/blender/editors/physics/particle_edit.c index da522d22a02..68506c8addb 100644 --- a/source/blender/editors/physics/particle_edit.c +++ b/source/blender/editors/physics/particle_edit.c @@ -338,7 +338,7 @@ static PTCacheEdit *pe_get_current(Depsgraph *depsgraph, Scene *scene, Object *o } /* Don't consider inactive or render dependency graphs, since they might be evaluated for a - * different number of childrem. or have different pointer to evaluated particle system or + * different number of children. or have different pointer to evaluated particle system or * modifier which will also cause troubles. */ if (edit && DEG_is_active(depsgraph)) { edit->pid = *pid; diff --git a/source/blender/editors/space_outliner/outliner_draw.c b/source/blender/editors/space_outliner/outliner_draw.c index 55130ae8894..8c36d4ae2bd 100644 --- a/source/blender/editors/space_outliner/outliner_draw.c +++ b/source/blender/editors/space_outliner/outliner_draw.c @@ -442,14 +442,14 @@ static bool outliner_collection_is_isolated(Scene *scene, else if (BKE_collection_has_collection(collection_ensure, (Collection *)collection_ensure_cmp) || BKE_collection_has_collection((Collection *)collection_ensure_cmp, collection_ensure)) { /* This collection is either a parent or a child of the collection. - * We expect it to be set "visble" already. */ + * We expect it to be set "visible" already. */ if (value != value_cmp) { return false; } } else { /* This collection is neither a parent nor a child of the collection. - * We expect it to be "invisble". */ + * We expect it to be "invisible". */ if (value == value_cmp) { return false; } diff --git a/source/blender/editors/uvedit/uvedit_parametrizer.c b/source/blender/editors/uvedit/uvedit_parametrizer.c index c4ce49c5982..bb96b4ba10c 100644 --- a/source/blender/editors/uvedit/uvedit_parametrizer.c +++ b/source/blender/editors/uvedit/uvedit_parametrizer.c @@ -3962,7 +3962,7 @@ static float p_smooth_median_edge_length(PChart *chart) float median; int i; - /* ok, so i'm lazy */ + /* ok, so I'm lazy */ for (i = 0, e = chart->edges; e; e = e->nextlink, i++) { lengths[i] = p_edge_length(e); } diff --git a/source/blender/freestyle/intern/geometry/GeomCleaner.h b/source/blender/freestyle/intern/geometry/GeomCleaner.h index 1c193e7252e..aee8ed6963d 100644 --- a/source/blender/freestyle/intern/geometry/GeomCleaner.h +++ b/source/blender/freestyle/intern/geometry/GeomCleaner.h @@ -59,7 +59,7 @@ class GeomCleaner { * Output of sorted vertices. * A vertex v1 precedes another one v2 in this array * if v1.x { // GetSteerableViewMapDensityF1D /*! Returns the density of the viewmap for a given Interface1D. The density of each FEdge is - * evaluated in the proper steerable ViewMap depending on its oorientation. + * evaluated in the proper steerable ViewMap depending on its orientation. */ class GetSteerableViewMapDensityF1D : public UnaryFunction1D { private: diff --git a/source/blender/freestyle/intern/stroke/AdvancedStrokeShaders.h b/source/blender/freestyle/intern/stroke/AdvancedStrokeShaders.h index 641e133b019..86bb696a031 100644 --- a/source/blender/freestyle/intern/stroke/AdvancedStrokeShaders.h +++ b/source/blender/freestyle/intern/stroke/AdvancedStrokeShaders.h @@ -101,7 +101,7 @@ class SpatialNoiseShader : public StrokeShader { }; /*! [ Geometry Shader ]. - * Smoothes the stroke. + * Smooths the stroke. * (Moves the vertices to make the stroke smoother). * Uses curvature flow to converge towards a curve of constant curvature. The diffusion method we * use is anisotropic to prevent the diffusion across corners. \see \htmlonly data; /* Remember that insertion operations are defined and stored in correct order, which means that - * even if we insert several items in a row, we alays insert first one, then second one, etc. + * even if we insert several items in a row, we always insert first one, then second one, etc. * So we should always find 'anchor' constraint in both _src *and* _dst> */ bConstraint *con_anchor = NULL; if (opop->subitem_local_name && opop->subitem_local_name[0]) { diff --git a/source/blender/modifiers/intern/MOD_correctivesmooth.c b/source/blender/modifiers/intern/MOD_correctivesmooth.c index 3df66855376..be1580f0d70 100644 --- a/source/blender/modifiers/intern/MOD_correctivesmooth.c +++ b/source/blender/modifiers/intern/MOD_correctivesmooth.c @@ -307,7 +307,7 @@ static void smooth_iter__length_weight(CorrectiveSmoothModifierData *csmd, /* fast-path */ for (i = 0; i < numVerts; i++) { struct SmoothingData_Weighted *sd = &smooth_data[i]; - /* Divide by sum of all neighbour distances (weighted) and amount of neighbors, + /* Divide by sum of all neighbor distances (weighted) and amount of neighbors, * (mean average). */ const float div = sd->edge_length_sum * vertex_edge_count[i]; if (div > eps) { diff --git a/source/blender/python/mathutils/mathutils_Matrix.c b/source/blender/python/mathutils/mathutils_Matrix.c index 2e664616639..6fd0fab2cdd 100644 --- a/source/blender/python/mathutils/mathutils_Matrix.c +++ b/source/blender/python/mathutils/mathutils_Matrix.c @@ -2534,7 +2534,7 @@ static PyObject *Matrix_mul(PyObject *m1, PyObject *m2) return NULL; } /*------------------------obj *= obj------------------------------ - * Inplace element-wise multiplication */ + * In place element-wise multiplication */ static PyObject *Matrix_imul(PyObject *m1, PyObject *m2) { float scalar; @@ -2567,7 +2567,7 @@ static PyObject *Matrix_imul(PyObject *m1, PyObject *m2) mul_vn_vn(mat1->matrix, mat2->matrix, mat1->num_col * mat1->num_row); #else PyErr_Format(PyExc_TypeError, - "Inplace element-wise multiplication: " + "In place element-wise multiplication: " "not supported between '%.200s' and '%.200s' types", Py_TYPE(m1)->tp_name, Py_TYPE(m2)->tp_name); @@ -2580,7 +2580,7 @@ static PyObject *Matrix_imul(PyObject *m1, PyObject *m2) } else { PyErr_Format(PyExc_TypeError, - "Inplace element-wise multiplication: " + "In place element-wise multiplication: " "not supported between '%.200s' and '%.200s' types", Py_TYPE(m1)->tp_name, Py_TYPE(m2)->tp_name); @@ -2668,7 +2668,7 @@ static PyObject *Matrix_matmul(PyObject *m1, PyObject *m2) return NULL; } /*------------------------obj @= obj------------------------------ - * inplace matrix multiplication */ + * In place matrix multiplication */ static PyObject *Matrix_imatmul(PyObject *m1, PyObject *m2) { MatrixObject *mat1 = NULL, *mat2 = NULL; @@ -2715,7 +2715,7 @@ static PyObject *Matrix_imatmul(PyObject *m1, PyObject *m2) } else { PyErr_Format(PyExc_TypeError, - "Inplace matrix multiplication: " + "In place matrix multiplication: " "not supported between '%.200s' and '%.200s' types", Py_TYPE(m1)->tp_name, Py_TYPE(m2)->tp_name); diff --git a/source/blender/python/mathutils/mathutils_Quaternion.c b/source/blender/python/mathutils/mathutils_Quaternion.c index 0885e024251..23fd65319a6 100644 --- a/source/blender/python/mathutils/mathutils_Quaternion.c +++ b/source/blender/python/mathutils/mathutils_Quaternion.c @@ -935,7 +935,7 @@ static PyObject *Quaternion_imul(PyObject *q1, PyObject *q2) mul_vn_vn(quat1->quat, quat2->quat, QUAT_SIZE); #else PyErr_Format(PyExc_TypeError, - "Inplace element-wise multiplication: " + "In place element-wise multiplication: " "not supported between '%.200s' and '%.200s' types", Py_TYPE(q1)->tp_name, Py_TYPE(q2)->tp_name); @@ -1040,7 +1040,7 @@ static PyObject *Quaternion_imatmul(PyObject *q1, PyObject *q2) } else { PyErr_Format(PyExc_TypeError, - "Inplace quaternion multiplication: " + "In place quaternion multiplication: " "not supported between '%.200s' and '%.200s' types", Py_TYPE(q1)->tp_name, Py_TYPE(q2)->tp_name); diff --git a/source/blender/python/mathutils/mathutils_Vector.c b/source/blender/python/mathutils/mathutils_Vector.c index 1f17d1eebf2..490a1d9dd76 100644 --- a/source/blender/python/mathutils/mathutils_Vector.c +++ b/source/blender/python/mathutils/mathutils_Vector.c @@ -1834,7 +1834,7 @@ static PyObject *Vector_imul(PyObject *v1, PyObject *v2) mul_vn_vn(vec1->vec, vec2->vec, vec1->size); #else PyErr_Format(PyExc_TypeError, - "Inplace element-wise multiplication: " + "In place element-wise multiplication: " "not supported between '%.200s' and '%.200s' types", Py_TYPE(v1)->tp_name, Py_TYPE(v2)->tp_name); @@ -1847,7 +1847,7 @@ static PyObject *Vector_imul(PyObject *v1, PyObject *v2) } else { PyErr_Format(PyExc_TypeError, - "Inplace element-wise multiplication: " + "In place element-wise multiplication: " "not supported between '%.200s' and '%.200s' types", Py_TYPE(v1)->tp_name, Py_TYPE(v2)->tp_name); @@ -1925,7 +1925,7 @@ static PyObject *Vector_matmul(PyObject *v1, PyObject *v2) static PyObject *Vector_imatmul(PyObject *v1, PyObject *v2) { PyErr_Format(PyExc_TypeError, - "Inplace vector multiplication: " + "In place vector multiplication: " "not supported between '%.200s' and '%.200s' types", Py_TYPE(v1)->tp_name, Py_TYPE(v2)->tp_name); diff --git a/source/blender/render/intern/source/imagetexture.c b/source/blender/render/intern/source/imagetexture.c index a2a713a5591..e9175d8d024 100644 --- a/source/blender/render/intern/source/imagetexture.c +++ b/source/blender/render/intern/source/imagetexture.c @@ -947,7 +947,7 @@ static void alpha_clip_aniso( float alphaclip; rctf rf; - /* TXF apha: we're doing the same alphaclip here as boxsample, but i'm doubting + /* TXF alpha: we're doing the same alpha-clip here as box-sample, but I'm doubting * if this is actually correct for the all the filtering algorithms .. */ if (!(extflag == TXC_REPT || extflag == TXC_EXTD)) { -- cgit v1.2.3