From dd32f2502f8d090c639df4a34d56d21ccbecac83 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sat, 4 May 2013 01:09:18 +0300 Subject: [PATCH] Auto smooth angle is stored in radians, not degrees This probably got changed since Blender 2.4, but had gone unnoticed. --- blender/io_mspgl/mesh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.0