self.smoothing = mesh.smoothing
self.use_uv = mesh.use_uv
self.tangent_uvtex = mesh.tangent_uvtex
self.smoothing = mesh.smoothing
self.use_uv = mesh.use_uv
self.tangent_uvtex = mesh.tangent_uvtex
# Assign texture unit numbers to UV layers that lack one
missing_unit = [u for u in self.uv_layers if u.unit is None]
# Assign texture unit numbers to UV layers that lack one
missing_unit = [u for u in self.uv_layers if u.unit is None]
# Keep track of the score and number of unused faces for each vertex
vertex_info = [[0, len(v.faces)] for v in self.vertices]
for vi in vertex_info:
# Keep track of the score and number of unused faces for each vertex
vertex_info = [[0, len(v.faces)] for v in self.vertices]
for vi in vertex_info:
bmesh.smoothing = o.data.smoothing
bmesh.use_lines = o.data.use_lines
bmesh.vertex_groups = o.data.vertex_groups
bmesh.smoothing = o.data.smoothing
bmesh.use_lines = o.data.use_lines
bmesh.vertex_groups = o.data.vertex_groups