diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-12-14 01:54:18 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-12-14 01:54:34 +0300 |
commit | dfa3e0ae81c89d45a193ae3d52eaa2b56f6f243b (patch) | |
tree | d88e15e6ef65a852f75eaa9058f532748fafdfa9 /source/blender | |
parent | c7a31bad9fd5822e4de35209b7a9bd13731f726c (diff) |
Fix compiler error
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_edit.c | 1 | ||||
-rw-r--r-- | source/blender/editors/gpencil/gpencil_intern.h | 3 |
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); |