diff --git a/io_scene_x3d/import_x3d.py b/io_scene_x3d/import_x3d.py index 86e6839475c6a516e5f714e3324743ec6fc0a2b3..c20afbac9e17ebe5e5b5da78dc89ea44b1c2f6fe 100644 --- a/io_scene_x3d/import_x3d.py +++ b/io_scene_x3d/import_x3d.py @@ -2177,8 +2177,8 @@ def importShape(node, ancestry, global_matrix): is_solid = geom.getFieldAsBool('solid', True, ancestry) creaseAngle = geom.getFieldAsFloat('creaseAngle', None, ancestry) - if creaseAngle != None: - bpydata.auto_smooth_angle = 1 + int(min(79, creaseAngle * RAD_TO_DEG)) + if creaseAngle is not None: + bpydata.auto_smooth_angle = creaseAngle bpydata.use_auto_smooth = True # Only ever 1 material per shape