[Bf-blender-cvs] [cae56ad6a28] master: Fix T61979: Solidify not working in Blender 2.8.
Bastien Montagne
noreply at git.blender.org
Tue Feb 26 21:00:32 CET 2019
Commit: cae56ad6a281fcb81410973d4833f07662bbaaea
Author: Bastien Montagne
Date: Tue Feb 26 20:45:56 2019 +0100
Branches: master
https://developer.blender.org/rBcae56ad6a281fcb81410973d4833f07662bbaaea
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...
===================================================================
M source/blender/modifiers/intern/MOD_solidify.c
===================================================================
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;
More information about the Bf-blender-cvs
mailing list