diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-02-26 22:45:56 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-02-26 23:00:18 +0300 |
commit | cae56ad6a281fcb81410973d4833f07662bbaaea (patch) | |
tree | ab2c1d965ac267977ef1a44815d23fd1eed9ee2d /source/blender/modifiers | |
parent | 788778d98519f05abf827362ea58915149732afd (diff) |
Fix T61979: Solidify not working in Blender 2.8.
Broken logic in rB181356edba04, thanks most likely to stupid naming
(face in Blender is for tessellated faces, use poly for BMesh polygons).
Cleanup to follow in next commit...
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r-- | source/blender/modifiers/intern/MOD_solidify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_solidify.c b/source/blender/modifiers/intern/MOD_solidify.c index 45fd4f2650e..230712f4f00 100644 --- a/source/blender/modifiers/intern/MOD_solidify.c +++ b/source/blender/modifiers/intern/MOD_solidify.c @@ -74,7 +74,7 @@ static void mesh_calc_hq_normal(Mesh *mesh, float (*face_nors)[3], float (*r_ver numVerts = mesh->totvert; numEdges = mesh->totedge; - numFaces = mesh->totface; + numFaces = mesh->totpoly; mpoly = mesh->mpoly; medge = mesh->medge; mvert = mesh->mvert; |