Fixed a bug where the ASE exporter did not properly export smoothing groups
This commit is contained in:
@@ -2,7 +2,7 @@ bl_info = {
|
|||||||
'name': 'ASCII Scene Export',
|
'name': 'ASCII Scene Export',
|
||||||
'description': 'Export ASE (ASCII Scene Export) files',
|
'description': 'Export ASE (ASCII Scene Export) files',
|
||||||
'author': 'Colin Basnett (Darklight Games)',
|
'author': 'Colin Basnett (Darklight Games)',
|
||||||
'version': (1, 0, 0),
|
'version': (1, 0, 1),
|
||||||
'blender': (2, 90, 0),
|
'blender': (2, 90, 0),
|
||||||
'location': 'File > Import-Export',
|
'location': 'File > Import-Export',
|
||||||
'warning': 'This add-on is under development.',
|
'warning': 'This add-on is under development.',
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ class ASEBuilder(object):
|
|||||||
|
|
||||||
mesh_data.calc_loop_triangles()
|
mesh_data.calc_loop_triangles()
|
||||||
mesh_data.calc_normals_split()
|
mesh_data.calc_normals_split()
|
||||||
poly_groups, groups = mesh_data.calc_smooth_groups(use_bitflags=False)
|
poly_groups, groups = mesh_data.calc_smooth_groups(use_bitflags=True)
|
||||||
|
|
||||||
# Faces
|
# Faces
|
||||||
for face_index, loop_triangle in enumerate(mesh_data.loop_triangles):
|
for face_index, loop_triangle in enumerate(mesh_data.loop_triangles):
|
||||||
|
|||||||
Reference in New Issue
Block a user