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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-09-27 16:49:59 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-09-27 16:49:59 +0300
commit58adc586612e695d04033f2029362f279a9c05a4 (patch)
tree0ebe8d1958f179e54a07eb44456002d46816a593 /source/blender/editors/gpencil
parent0f6b2504f80edddc76c104e9df0722fbb7d484a7 (diff)
parenta247b53084760498ca81eb6bdb901dee8f3a02ca (diff)
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/editors/gpencil')
-rw-r--r--source/blender/editors/gpencil/gpencil_add_monkey.c2
-rw-r--r--source/blender/editors/gpencil/gpencil_brush.c2
-rw-r--r--source/blender/editors/gpencil/gpencil_data.c2
-rw-r--r--source/blender/editors/gpencil/gpencil_edit.c4
-rw-r--r--source/blender/editors/gpencil/gpencil_fill.c2
-rw-r--r--source/blender/editors/gpencil/gpencil_paint.c2
-rw-r--r--source/blender/editors/gpencil/gpencil_primitive.c2
-rw-r--r--source/blender/editors/gpencil/gpencil_utils.c2
8 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/editors/gpencil/gpencil_add_monkey.c b/source/blender/editors/gpencil/gpencil_add_monkey.c
index 7f5c51633b2..048e933db9a 100644
--- a/source/blender/editors/gpencil/gpencil_add_monkey.c
+++ b/source/blender/editors/gpencil/gpencil_add_monkey.c
@@ -1447,7 +1447,7 @@ void ED_gpencil_create_monkey(bContext *C, float mat[4][4])
bGPDlayer *Lines = BKE_gpencil_layer_addnew(gpd, "Lines", true);
/* frames */
- /* NOTE: No need to check for existing, as this will tkae care of it for us */
+ /* NOTE: No need to check for existing, as this will take care of it for us */
bGPDframe *frameColor = BKE_gpencil_frame_addnew(Colors, cfra_eval);
bGPDframe *frameLines = BKE_gpencil_frame_addnew(Lines, cfra_eval);
diff --git a/source/blender/editors/gpencil/gpencil_brush.c b/source/blender/editors/gpencil/gpencil_brush.c
index 67fc9774d26..216e65b9d9f 100644
--- a/source/blender/editors/gpencil/gpencil_brush.c
+++ b/source/blender/editors/gpencil/gpencil_brush.c
@@ -1141,7 +1141,7 @@ static bool gpsculpt_brush_apply_clone(bContext *C, tGP_BrushEditData *gso)
gp_brush_clone_add(C, gso);
}
else {
- /* Stamp or Continous Mode */
+ /* Stamp or Continuous Mode */
if (1 /*gso->brush->mode == GP_EDITBRUSH_CLONE_MODE_STAMP*/) {
/* Stamp - Proceed to translate the newly added strokes */
gp_brush_clone_adjust(gso);
diff --git a/source/blender/editors/gpencil/gpencil_data.c b/source/blender/editors/gpencil/gpencil_data.c
index 7932f6308a6..99f5967274a 100644
--- a/source/blender/editors/gpencil/gpencil_data.c
+++ b/source/blender/editors/gpencil/gpencil_data.c
@@ -1408,7 +1408,7 @@ static int gp_stroke_change_color_exec(bContext *C, wmOperator *op)
if (ED_gpencil_stroke_color_use(ob, gpl, gps) == false)
continue;
- /* asign new color */
+ /* assign new color */
gps->mat_nr = idx;
}
}
diff --git a/source/blender/editors/gpencil/gpencil_edit.c b/source/blender/editors/gpencil/gpencil_edit.c
index c6d470fd6a2..923bd1e9f18 100644
--- a/source/blender/editors/gpencil/gpencil_edit.c
+++ b/source/blender/editors/gpencil/gpencil_edit.c
@@ -3044,7 +3044,7 @@ static int gp_stroke_subdivide_exec(bContext *C, wmOperator *op)
temp_dverts = MEM_dupallocN(gps->dvert);
}
- /* resize the points arrys */
+ /* resize the points arrays */
gps->totpoints += totnewpoints;
gps->points = MEM_recallocN(gps->points, sizeof(*gps->points) * gps->totpoints);
if (gps->dvert != NULL) {
@@ -3202,7 +3202,7 @@ void GPENCIL_OT_stroke_simplify(wmOperatorType *ot)
RNA_def_property_flag(prop, PROP_SKIP_SAVE);
}
-/* ** simplify stroke using fixed algorith *** */
+/* ** simplify stroke using fixed algorithm *** */
static int gp_stroke_simplify_fixed_exec(bContext *C, wmOperator *op)
{
bGPdata *gpd = ED_gpencil_data_get_active(C);
diff --git a/source/blender/editors/gpencil/gpencil_fill.c b/source/blender/editors/gpencil/gpencil_fill.c
index 825731623ee..3fd26f77449 100644
--- a/source/blender/editors/gpencil/gpencil_fill.c
+++ b/source/blender/editors/gpencil/gpencil_fill.c
@@ -394,7 +394,7 @@ static void set_pixel(ImBuf *ibuf, int idx, const float col[4])
*
* \param ibuf Image pixel data
* \param maxpixel Maximum index
- * \param limit Limit of pixels to analize
+ * \param limit Limit of pixels to analyze
* \param index Index of current pixel
* \param type 0-Horizontal 1-Vertical
*/
diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c
index 1f3230e44fe..7b2a106b5cc 100644
--- a/source/blender/editors/gpencil/gpencil_paint.c
+++ b/source/blender/editors/gpencil/gpencil_paint.c
@@ -1771,7 +1771,7 @@ static void gp_init_drawing_brush(bContext *C, tGPsdata *p)
curvemapping_initialize(brush->gpencil_settings->curve_strength);
curvemapping_initialize(brush->gpencil_settings->curve_jitter);
- /* asign to temp tGPsdata */
+ /* assign to temp tGPsdata */
p->brush = brush;
if (brush->gpencil_settings->brush_type != GP_BRUSH_TYPE_ERASE) {
p->eraser = gp_get_default_eraser(p->bmain, ts);
diff --git a/source/blender/editors/gpencil/gpencil_primitive.c b/source/blender/editors/gpencil/gpencil_primitive.c
index 570825d0106..43166ca17d7 100644
--- a/source/blender/editors/gpencil/gpencil_primitive.c
+++ b/source/blender/editors/gpencil/gpencil_primitive.c
@@ -544,7 +544,7 @@ static void gpencil_primitive_done(bContext *C, wmOperator *op, wmWindow *win, t
/* insert keyframes as required... */
gpf = BKE_gpencil_layer_getframe(tgpi->gpl, tgpi->cframe, GP_GETFRAME_ADD_NEW);
- /* prepare stroke to get transfered */
+ /* prepare stroke to get transferred */
gps = tgpi->gpf->strokes.first;
if (gps) {
gps->thickness = tgpi->brush->size;
diff --git a/source/blender/editors/gpencil/gpencil_utils.c b/source/blender/editors/gpencil/gpencil_utils.c
index c0aea452385..9072a18eb88 100644
--- a/source/blender/editors/gpencil/gpencil_utils.c
+++ b/source/blender/editors/gpencil/gpencil_utils.c
@@ -944,7 +944,7 @@ void gp_subdivide_stroke(bGPDstroke *gps, const int subdivide)
temp_points = MEM_dupallocN(gps->points);
oldtotpoints = gps->totpoints;
- /* resize the points arrys */
+ /* resize the points arrays */
gps->totpoints += totnewpoints;
gps->points = MEM_recallocN(gps->points, sizeof(*gps->points) * gps->totpoints);
if (gps->dvert != NULL) {