prog_count += 1
tbn_layer_index = uv_names.index(self.tbn_uvtex)
progress.push_task_slice("Computing TBN", 0, prog_count)
- self.compute_tbn(tbn_layer_index, progress)
- progress.set_task_slice(self.tbn_uvtex, 1, prog_count)
self.split_vertices(self.find_uv_group, progress, tbn_layer_index)
+ progress.set_task_slice(self.tbn_uvtex, 1, prog_count)
+ self.compute_tbn(tbn_layer_index, progress)
progress.pop_task()
prog_step = 2
ne.index = len(self.edges)
self.edges.append(ne)
+ ne.other_vertex(self.vertices[i]).edges.append(ne)
+
for f in e_faces_in_g:
e.faces.remove(f)
f.edges[f.edges.index(e)] = ne
else:
del self.edge_map[e.key]
self.vertices[i].edges.remove(e)
- v.edges.append(e)
e.vertices[e.vertices.index(self.vertices[i])] = v
+ v.edges.append(e)
e.key = make_edge_key(e.vertices[0].index, e.vertices[1].index)
self.edge_map[e.key] = e