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:
authorCampbell Barton <ideasman42@gmail.com>2018-12-14 01:54:18 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-12-14 01:54:34 +0300
commitdfa3e0ae81c89d45a193ae3d52eaa2b56f6f243b (patch)
treed88e15e6ef65a852f75eaa9058f532748fafdfa9
parentc7a31bad9fd5822e4de35209b7a9bd13731f726c (diff)
Fix compiler error
-rw-r--r--source/blender/editors/gpencil/gpencil_edit.c1
-rw-r--r--source/blender/editors/gpencil/gpencil_intern.h3
2 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/editors/gpencil/gpencil_edit.c b/source/blender/editors/gpencil/gpencil_edit.c
index a09504c255c..16666e5dccb 100644
--- a/source/blender/editors/gpencil/gpencil_edit.c
+++ b/source/blender/editors/gpencil/gpencil_edit.c
@@ -3016,7 +3016,6 @@ void GPENCIL_OT_reproject(wmOperatorType *ot)
/* helper to smooth */
static void gp_smooth_stroke(bContext *C, wmOperator *op)
{
- bGPdata *gpd = ED_gpencil_data_get_active(C);
const int repeat = RNA_int_get(op->ptr, "repeat");
float factor = RNA_float_get(op->ptr, "factor");
const bool only_selected = RNA_boolean_get(op->ptr, "only_selected");
diff --git a/source/blender/editors/gpencil/gpencil_intern.h b/source/blender/editors/gpencil/gpencil_intern.h
index fa806999d25..2a92185cdd5 100644
--- a/source/blender/editors/gpencil/gpencil_intern.h
+++ b/source/blender/editors/gpencil/gpencil_intern.h
@@ -251,9 +251,6 @@ void gp_stroke_delete_tagged_points(
int tag_flags, bool select);
int gp_delete_selected_point_wrap(bContext *C);
-bool gp_smooth_stroke(bGPDstroke *gps, int i, float inf, bool affect_pressure);
-bool gp_smooth_stroke_strength(bGPDstroke *gps, int i, float inf);
-bool gp_smooth_stroke_thickness(bGPDstroke *gps, int i, float inf);
void gp_subdivide_stroke(bGPDstroke *gps, const int subdivide);
void gp_randomize_stroke(bGPDstroke *gps, Brush *brush, struct RNG *rng);