bugfix [#22163] Add->mesh->torus is broken
recent commit broke this, missed changing double to float.
This commit is contained in:
@@ -42,7 +42,7 @@ def add_torus(major_rad, minor_rad, major_seg, minor_seg):
|
||||
vec = Vector((major_rad + (cos(angle) * minor_rad), 0.0,
|
||||
(sin(angle) * minor_rad))) * quat
|
||||
|
||||
verts.extend([vec.x, vec.y, vec.z])
|
||||
verts.extend(vec[:])
|
||||
|
||||
if minor_index + 1 == minor_seg:
|
||||
i2 = (major_index) * minor_seg
|
||||
|
||||
Reference in New Issue
Block a user