diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-06-16 19:02:02 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-06-16 19:02:23 +0300 |
commit | dc1c820b2b007302e37dd97bb244737d7351ae89 (patch) | |
tree | b240a78cbd891fdb585f5d87116598b00c429f46 /source/blender/editors/gpencil/gpencil_intern.h | |
parent | 0a8e6b48c44afa996c76dfef4ffb516cd668cd76 (diff) |
Cleanup: remove BLI_frand from GreasePencil code.
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_intern.h')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_intern.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_intern.h b/source/blender/editors/gpencil/gpencil_intern.h index 33af6cab915..67b88efa285 100644 --- a/source/blender/editors/gpencil/gpencil_intern.h +++ b/source/blender/editors/gpencil/gpencil_intern.h @@ -41,6 +41,7 @@ struct bGPDstroke; struct bGPDspoint; struct GHash; +struct RNG; struct ARegion; struct View2D; @@ -117,7 +118,7 @@ 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 new_totpoints); -void gp_randomize_stroke(bGPDstroke *gps, bGPDbrush *brush); +void gp_randomize_stroke(bGPDstroke *gps, bGPDbrush *brush, struct RNG *rng); /* Layers Enums -------------------------------------- */ |