diff options
Diffstat (limited to 'source/blender/modifiers/intern/MOD_weightvg_util.h')
-rw-r--r-- | source/blender/modifiers/intern/MOD_weightvg_util.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_weightvg_util.h b/source/blender/modifiers/intern/MOD_weightvg_util.h index 209b784d573..c7509a937b6 100644 --- a/source/blender/modifiers/intern/MOD_weightvg_util.h +++ b/source/blender/modifiers/intern/MOD_weightvg_util.h @@ -32,6 +32,8 @@ #ifndef __MOD_WEIGHTVG_UTIL_H__ #define __MOD_WEIGHTVG_UTIL_H__ +#include "BLI_rand.h" + /* so modifier types match their defines */ #include "MOD_modifiertypes.h" @@ -65,7 +67,7 @@ struct Scene; * vertex index (in case the weight tables do not cover the whole vertices...). * cmap might be NULL, in which case curve mapping mode will return unmodified data. */ -void weightvg_do_map(int num, float *new_w, short mode, struct CurveMapping *cmap); +void weightvg_do_map(int num, float *new_w, short mode, struct CurveMapping *cmap, RNG *rng); /* Applies new_w weights to org_w ones, using either a texture, vgroup or constant value as factor. * Return values are in org_w. |