[Bf-extensions-cvs] [045f3d25] master: Fixed bug with inverted normals for the counter sink bolt

Aaron Keith noreply at git.blender.org
Sun Apr 12 05:07:40 CEST 2020


Commit: 045f3d25541b96d6cb986df5a918621d4893c660
Author: Aaron Keith
Date:   Sun Apr 12 15:06:56 2020 +1200
Branches: master
https://developer.blender.org/rBA045f3d25541b96d6cb986df5a918621d4893c660

Fixed bug with inverted normals for the counter sink bolt

===================================================================

M	add_mesh_BoltFactory/createMesh.py

===================================================================

diff --git a/add_mesh_BoltFactory/createMesh.py b/add_mesh_BoltFactory/createMesh.py
index d03e4730..2985ddea 100644
--- a/add_mesh_BoltFactory/createMesh.py
+++ b/add_mesh_BoltFactory/createMesh.py
@@ -626,7 +626,7 @@ def Create_CounterSink_Head(HOLE_DIA, HEAD_DIA, SHANK_DIA, HEIGHT, RAD1, DIV_COU
     sVerts, sFaces = SpinDup(verts, faces, 360, DIV_COUNT, 'z')
     sVerts.extend(verts)    # add the start verts to the Spin verts to complete the loop
 
-    faces.extend(Build_Face_List_Quads(FaceStart, Row - 1, DIV_COUNT, 1))
+    faces.extend(Build_Face_List_Quads(FaceStart, Row - 1, DIV_COUNT))
 
     return sVerts, faces, HEIGHT



More information about the Bf-extensions-cvs mailing list