diff options
Diffstat (limited to 'source/blender/modifiers/intern/MOD_weightvg_util.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_weightvg_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_weightvg_util.c b/source/blender/modifiers/intern/MOD_weightvg_util.c index 486d5c90bef..4ff07b21ef4 100644 --- a/source/blender/modifiers/intern/MOD_weightvg_util.c +++ b/source/blender/modifiers/intern/MOD_weightvg_util.c @@ -76,7 +76,7 @@ void weightvg_do_map(int num, float *new_w, short falloff_type, CurveMapping *cm } /* Map each weight (vertex) to its new value, accordingly to the chosen mode. */ - for (i = 0; i < num; ++i) { + for (i = 0; i < num; i++) { float fac = new_w[i]; /* Code borrowed from the warp modifier. */ @@ -164,7 +164,7 @@ void weightvg_do_mask(const ModifierEvalContext *ctx, MOD_init_texture(&t_map, ctx); /* For each weight (vertex), make the mix between org and new weights. */ - for (i = 0; i < num; ++i) { + for (i = 0; i < num; i++) { int idx = indices ? indices[i] : i; TexResult texres; float hsv[3]; /* For HSV color space. */ |