Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2018-05-08 13:58:01 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2018-05-08 13:58:48 +0300
commitc51b017a1a12ed1bc9001c2e4e47b14e07f53b53 (patch)
treeb6ba76db8bdaa087fbbf0bdd3291445497b4d862 /source/blender/modifiers/intern/MOD_weightvgmix.c
parent7d9f1a699a987eb7c831f8d45c4f73316b004fb5 (diff)
WeightVG modifiers: Cleanup, add asserts to validate expected data status...
Diffstat (limited to 'source/blender/modifiers/intern/MOD_weightvgmix.c')
-rw-r--r--source/blender/modifiers/intern/MOD_weightvgmix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_weightvgmix.c b/source/blender/modifiers/intern/MOD_weightvgmix.c
index 2ea721c1982..0841bc9bfc0 100644
--- a/source/blender/modifiers/intern/MOD_weightvgmix.c
+++ b/source/blender/modifiers/intern/MOD_weightvgmix.c
@@ -204,6 +204,8 @@ static bool isDisabled(ModifierData *md, int UNUSED(useRenderParams))
static Mesh *applyModifier(ModifierData *md, const ModifierEvalContext *ctx, Mesh *mesh)
{
+ BLI_assert(mesh != NULL);
+
WeightVGMixModifierData *wmd = (WeightVGMixModifierData *) md;
MDeformVert *dvert = NULL;