diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-02-13 06:01:52 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-02-13 06:14:33 +0300 |
commit | d1bd33407da3183335805beec561c18e6f5aa6e0 (patch) | |
tree | 564bd2c8b1d2c99ff3ad9d76628efa3ec04c292b /source/blender/blenkernel/intern | |
parent | f874f6817d1c793da4fd423a3c8bf0e504ebfa4a (diff) |
Cleanup: pass const variables
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/anim.c | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/fluid.c | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/idprop.c | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/tracking_stabilize.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/anim.c b/source/blender/blenkernel/intern/anim.c index 6b8f8e5303e..2ebb08450ad 100644 --- a/source/blender/blenkernel/intern/anim.c +++ b/source/blender/blenkernel/intern/anim.c @@ -476,7 +476,7 @@ int where_on_path(Object *ob, /* NOTE: commented out for follow constraint * - * If it's ever be uncommented watch out for curve_deform_verts() + * If it's ever be uncommentet watch out for curve_deform_verts() * which used to temporary set CU_FOLLOW flag for the curve and no * longer does it (because of threading issues of such a thing. */ diff --git a/source/blender/blenkernel/intern/fluid.c b/source/blender/blenkernel/intern/fluid.c index d38541c8bbe..6cf748d6a7f 100644 --- a/source/blender/blenkernel/intern/fluid.c +++ b/source/blender/blenkernel/intern/fluid.c @@ -1563,7 +1563,7 @@ static void sample_mesh(FluidFlowSettings *mfs, /* Distance between two opposing vertices in a unit cube. * I.e. the unit cube diagonal or sqrt(3). - * This value is our nearest neighbour search distance. */ + * This value is our nearest neighbor search distance. */ const float surface_distance = 1.732; nearest.dist_sq = surface_distance * surface_distance; /* find_nearest uses squared distance. */ diff --git a/source/blender/blenkernel/intern/idprop.c b/source/blender/blenkernel/intern/idprop.c index e5b710b3619..33d468dee0f 100644 --- a/source/blender/blenkernel/intern/idprop.c +++ b/source/blender/blenkernel/intern/idprop.c @@ -104,7 +104,7 @@ IDProperty *IDP_CopyIDPArray(const IDProperty *array, const int flag) * which doesn't work here. instead, simply copy the * contents of the new structure into the array cell, * then free it. this makes for more maintainable - * code than simply reimplementing the copy functions + * code than simply re-implementing the copy functions * in this loop.*/ tmp = IDP_CopyProperty_ex(GETPROP(narray, i), flag); memcpy(GETPROP(narray, i), tmp, sizeof(IDProperty)); diff --git a/source/blender/blenkernel/intern/tracking_stabilize.c b/source/blender/blenkernel/intern/tracking_stabilize.c index b5b33353ed7..89537b3f788 100644 --- a/source/blender/blenkernel/intern/tracking_stabilize.c +++ b/source/blender/blenkernel/intern/tracking_stabilize.c @@ -384,7 +384,7 @@ static MovieTrackingMarker *get_tracking_data_point(StabContext *ctx, } /* Define the reference point for rotation/scale measurement and compensation. - * The stabilizator works by assuming the image was distorted by a affine linear + * The stabilizer works by assuming the image was distorted by a affine linear * transform, i.e. it was rotated and stretched around this reference point * (pivot point) and then shifted laterally. Any scale and orientation changes * will be picked up relative to this point. And later the image will be |