From: Mikko Rasa Date: Fri, 3 May 2013 22:09:18 +0000 (+0300) Subject: Auto smooth angle is stored in radians, not degrees X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=commitdiff_plain;h=dd32f2502f8d090c639df4a34d56d21ccbecac83 Auto smooth angle is stored in radians, not degrees This probably got changed since Blender 2.4, but had gone unnoticed. --- 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