io_scene_3ds: Moved specular color texture to specular tint #104918

Merged
Sebastian Sille merged 89 commits from :main into main 2023-09-27 00:42:09 +02:00
Showing only changes of commit bc2e1982e5 - Show all commits

View File

@ -700,7 +700,7 @@ class torus_knot_plus(Operator, AddObjectHelper):
print("Approximate average TK length = %.2f" % avgTKLen)
# x N factor = control points per unit length
self.torus_res = max(3, avgTKLen / links * 8)
self.torus_res = max(3, int(avgTKLen / links) * 8)
# update align matrix
self.align_matrix = align_matrix(self, context)