diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-04-10 18:11:45 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-04-10 18:11:45 +0400 |
commit | 5eca59cf0d05fd8063eb83ad80b2caf9c5eacedc (patch) | |
tree | ebd47eec797e9dd6e93217054a37b0ce6541ddb6 /source/blender/modifiers/intern/MOD_weightvg_util.h | |
parent | 8adc27688597baf212adcab841b42e3e07bcb0bc (diff) |
Fix #30882: using an image sequence in the displace modifier did not update
properly in animation rendering.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_weightvg_util.h')
-rw-r--r-- | source/blender/modifiers/intern/MOD_weightvg_util.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/modifiers/intern/MOD_weightvg_util.h b/source/blender/modifiers/intern/MOD_weightvg_util.h index 57ba115c04e..209b784d573 100644 --- a/source/blender/modifiers/intern/MOD_weightvg_util.h +++ b/source/blender/modifiers/intern/MOD_weightvg_util.h @@ -39,6 +39,7 @@ struct CurveMapping; struct DerivedMesh; struct Object; struct Tex; +struct Scene; /* * XXX I'd like to make modified weights visible in WeightPaint mode, @@ -73,9 +74,9 @@ void weightvg_do_map(int num, float *new_w, short mode, struct CurveMapping *cma * XXX The standard "factor" value is assumed in [0.0, 1.0] range. Else, weird results might appear. */ void weightvg_do_mask(int num, const int *indices, float *org_w, const float *new_w, Object *ob, - DerivedMesh *dm, float fact, const char defgrp_name[MAX_VGROUP_NAME], Tex *texture, - int tex_use_channel, int tex_mapping, Object *tex_map_object, - const char *tex_uvlayer_name); + DerivedMesh *dm, float fact, const char defgrp_name[MAX_VGROUP_NAME], + struct Scene *scene, Tex *texture, int tex_use_channel, int tex_mapping, + Object *tex_map_object, const char *tex_uvlayer_name); /* Applies weights to given vgroup (defgroup), and optionally add/remove vertices from the group. * If indices is not NULL, it must be a table of same length as weights, mapping to the real |