add smooth feature

This commit is contained in:
yyc12345 2020-08-06 14:43:31 +08:00
parent d90d05170b
commit da4f07f37a

View File

@ -242,6 +242,8 @@ def import_bm(context,filepath,externalTexture,blenderTempFolder):
if faceList[i][9] != -1:
mesh.polygons[i].material_index = faceList[i][9]
mesh.polygons[i].use_smooth = True
mesh.validate(clean_customdata=False)
mesh.update(calc_edges=False, calc_edges_loose=False)