X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=blender%2Fio_mspgl%2Fmesh.py;h=a41cbc1311c8a9c077ff78980ecfb1e48a37b4e3;hb=a3d248c7db9f04919ed5e4053f6e2a2f776cec47;hp=fc31a1252a630fa0ef03fff894b7b735d31e2a78;hpb=b61c103559c83d6fe7309f2ca4489f09e701c4cf;p=libs%2Fgl.git 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