add smooth feature
This commit is contained in:
parent
d90d05170b
commit
da4f07f37a
@ -242,6 +242,8 @@ def import_bm(context,filepath,externalTexture,blenderTempFolder):
|
|||||||
if faceList[i][9] != -1:
|
if faceList[i][9] != -1:
|
||||||
mesh.polygons[i].material_index = faceList[i][9]
|
mesh.polygons[i].material_index = faceList[i][9]
|
||||||
|
|
||||||
|
mesh.polygons[i].use_smooth = True
|
||||||
|
|
||||||
mesh.validate(clean_customdata=False)
|
mesh.validate(clean_customdata=False)
|
||||||
mesh.update(calc_edges=False, calc_edges_loose=False)
|
mesh.update(calc_edges=False, calc_edges_loose=False)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user