From 7222d654b27dea256adf96fcb7c49d15dda8e5e2 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 25 May 2013 02:21:50 +0000 Subject: code cleanup: typo and stop manpage turning '$' into italic. --- source/blender/blenkernel/intern/mask.c | 2 +- source/blender/bmesh/tools/bmesh_bevel.c | 4 ++-- source/creator/creator.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'source') diff --git a/source/blender/blenkernel/intern/mask.c b/source/blender/blenkernel/intern/mask.c index 6de5c6d8b7b..68500549539 100644 --- a/source/blender/blenkernel/intern/mask.c +++ b/source/blender/blenkernel/intern/mask.c @@ -1839,7 +1839,7 @@ static void interp_weights_uv_v2_apply(const float uv[2], float r_pt[2], const f r_pt[1] += dvec[0] * uv[1]; } -/* when a now points added - resize all shapekey array */ +/* when a new points added - resize all shapekey array */ void BKE_mask_layer_shape_changed_add(MaskLayer *masklay, int index, int do_init, int do_init_interpolate) { diff --git a/source/blender/bmesh/tools/bmesh_bevel.c b/source/blender/bmesh/tools/bmesh_bevel.c index cac63b831b8..1c8c618ed9a 100644 --- a/source/blender/bmesh/tools/bmesh_bevel.c +++ b/source/blender/bmesh/tools/bmesh_bevel.c @@ -358,7 +358,7 @@ static void offset_meet(EdgeHalf *e1, EdgeHalf *e2, BMVert *v, BMFace *f, madd_v3_v3fl(off1a, norm_perp1, e1->offset); copy_v3_v3(meetco, off1a); } - else if (fabs(ang - (float)M_PI) < 100.0f * BEVEL_EPSILON) { + else if (fabsf(ang - (float)M_PI) < 100.0f * BEVEL_EPSILON) { /* special case e1 and e2 are antiparallel, so bevel is into * a zero-area face. Just make the offset point on the * common line, at offset distance from v. */ @@ -441,7 +441,7 @@ static void offset_in_two_planes(EdgeHalf *e1, EdgeHalf *e2, EdgeHalf *emid, /* lines are parallel; off1a is a good meet point */ copy_v3_v3(meetco, off1a); } - else if (fabs(ang - (float)M_PI) < 100.0f * BEVEL_EPSILON) { + else if (fabsf(ang - (float)M_PI) < 100.0f * BEVEL_EPSILON) { slide_dist(e2, v, e2->offset, meetco); } else { diff --git a/source/creator/creator.c b/source/creator/creator.c index 34bf541a720..fdd01691232 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -333,7 +333,7 @@ static int print_help(int UNUSED(argc), const char **UNUSED(argv), void *data) printf("\t...will ignore 8 because there is no space between the -f and the frame value\n\n"); printf("Argument Order:\n"); - printf("Arguments are executed in the order they are given. eg\n"); + printf("\targuments are executed in the order they are given. eg\n"); printf("\t\t\"blender --background test.blend --render-frame 1 --render-output /tmp\"\n"); printf("\t...will not render to /tmp because '--render-frame 1' renders before the output path is set\n"); printf("\t\t\"blender --background --render-output /tmp test.blend --render-frame 1\"\n"); @@ -344,7 +344,7 @@ static int print_help(int UNUSED(argc), const char **UNUSED(argv), void *data) printf(" $BLENDER_USER_CONFIG Directory for user configuration files.\n"); printf(" $BLENDER_USER_SCRIPTS Directory for user scripts.\n"); printf(" $BLENDER_SYSTEM_SCRIPTS Directory for system wide scripts.\n"); - printf(" $Directory for user data files (icons, translations, ..).\n"); + printf(" Directory for user data files (icons, translations, ..).\n"); printf(" $BLENDER_SYSTEM_DATAFILES Directory for system wide data files.\n"); printf(" $BLENDER_SYSTEM_PYTHON Directory for system python libraries.\n"); #ifdef WIN32 -- cgit v1.2.3