diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-12-12 17:06:39 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-12-12 17:07:03 +0300 |
commit | b60aedc14c3d67955ea7ebb55edf87899339cb53 (patch) | |
tree | b990253d4bd7ff1480e9c34a5b10759e1edc9a87 /source/blender/modifiers/intern | |
parent | 879e5cde64164a1e02203424cb8e7b41d32fd745 (diff) |
Fix T58450: Skin modifier not working if applied after subsurf
Diffstat (limited to 'source/blender/modifiers/intern')
-rw-r--r-- | source/blender/modifiers/intern/MOD_skin.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_skin.c b/source/blender/modifiers/intern/MOD_skin.c index 87d47769cdb..b31167152b8 100644 --- a/source/blender/modifiers/intern/MOD_skin.c +++ b/source/blender/modifiers/intern/MOD_skin.c @@ -859,6 +859,7 @@ static Mesh *subdivide_base(Mesh *orig) for (i = 0, totsubd = 0; i < totorigedge; i++) { edge_subd[i] += calc_edge_subdivisions(origvert, orignode, &origedge[i], degree); + BLI_assert(edge_subd[i] >= 0); totsubd += edge_subd[i]; } |