Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2015-12-14 21:20:31 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2015-12-14 21:24:05 +0300
commit6f6c26bdb48a6e6d4e350ca6e1a5f0c6347635a7 (patch)
tree8d4d2d244926528f58518c32c254aa6e9f2db24e /source/blender/editors/gpencil/gpencil_brush.c
parent1fbd74296df79fff2b4fd3234ea20b0ade51b0f9 (diff)
Usual i18n fixes, and cleanup: fix 'randomise' -> 'randomize' spelling in code.
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_brush.c')
-rw-r--r--source/blender/editors/gpencil/gpencil_brush.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/editors/gpencil/gpencil_brush.c b/source/blender/editors/gpencil/gpencil_brush.c
index 52340c57a2f..0d1698e9ec7 100644
--- a/source/blender/editors/gpencil/gpencil_brush.c
+++ b/source/blender/editors/gpencil/gpencil_brush.c
@@ -632,10 +632,10 @@ static bool gp_brush_twist_apply(tGP_BrushEditData *gso, bGPDstroke *gps, int i,
/* ----------------------------------------------- */
-/* Randomise Brush */
+/* Randomize Brush */
/* Apply some random jitter to the point */
-static bool gp_brush_randomise_apply(tGP_BrushEditData *gso, bGPDstroke *gps, int i,
+static bool gp_brush_randomize_apply(tGP_BrushEditData *gso, bGPDstroke *gps, int i,
const int radius, const int co[2])
{
bGPDspoint *pt = gps->points + i;
@@ -1257,7 +1257,7 @@ static bool gpsculpt_brush_apply_standard(bContext *C, tGP_BrushEditData *gso)
break;
}
- case GP_EDITBRUSH_TYPE_RANDOMISE: /* Random jitter */
+ case GP_EDITBRUSH_TYPE_RANDOMIZE: /* Random jitter */
{
/* compute the displacement vector for the cursor (in data space) */
gp_brush_grab_calc_dvec(gso);
@@ -1321,14 +1321,14 @@ static bool gpsculpt_brush_apply_standard(bContext *C, tGP_BrushEditData *gso)
break;
}
- case GP_EDITBRUSH_TYPE_RANDOMISE: /* Apply jitter */
+ case GP_EDITBRUSH_TYPE_RANDOMIZE: /* Apply jitter */
{
- changed |= gpsculpt_brush_do_stroke(gso, gps, gp_brush_randomise_apply);
+ changed |= gpsculpt_brush_do_stroke(gso, gps, gp_brush_randomize_apply);
break;
}
default:
- printf("ERROR: Unknown type of GPencil Sculpt brush - %d\n", gso->brush_type);
+ printf("ERROR: Unknown type of GPencil Sculpt brush - %u\n", gso->brush_type);
break;
}
}