X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=blender%2Fio_mspgl%2Fmesh.py;h=a41cbc1311c8a9c077ff78980ecfb1e48a37b4e3;hp=fc31a1252a630fa0ef03fff894b7b735d31e2a78;hb=dd32f2502f8d090c639df4a34d56d21ccbecac83;hpb=5ba1446b314ddc914693cb9cbb9a7b54a4d30a45 diff --git a/blender/io_mspgl/mesh.py b/blender/io_mspgl/mesh.py index fc31a125..a41cbc13 100644 --- a/blender/io_mspgl/mesh.py +++ b/blender/io_mspgl/mesh.py @@ -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