]> git.tdb.fi Git - libs/gl.git/blobdiff - blender/io_mspgl/mesh.py
Auto smooth angle is stored in radians, not degrees
[libs/gl.git] / blender / io_mspgl / mesh.py
index fc31a1252a630fa0ef03fff894b7b735d31e2a78..a41cbc1311c8a9c077ff78980ecfb1e48a37b4e3 100644 (file)
@@ -158,7 +158,7 @@ class Mesh:
                self.lines = [Line(e) for e in self.edges.values() if not e.faces]
 
                if self.use_auto_smooth:
-                       smooth_limit = math.cos(self.auto_smooth_angle*math.pi/180)
+                       smooth_limit = math.cos(self.auto_smooth_angle)
                else:
                        smooth_limit = -1