Changeset View
Changeset View
Standalone View
Standalone View
uv_magic_uv/common.py
| Context not available. | |||||
| diff = p2[-1][uv_layer].uv - p1[0][uv_layer].uv | diff = p2[-1][uv_layer].uv - p1[0][uv_layer].uv | ||||
| if diff.length < 0.000000001: | if diff.length < 0.000000001: | ||||
| # all UVs are not separated | # all UVs are not separated | ||||
| return None, "All UVs are not separted" | return None, "All UVs are not separated" | ||||
| return sorted_pairs, "" | return sorted_pairs, "" | ||||
| Context not available. | |||||
| # check if the UVs are already parsed. | # check if the UVs are already parsed. | ||||
| # this check is needed for the mesh which has the circular | # this check is needed for the mesh which has the circular | ||||
| # sequence of the verticies | # sequence of the vertices | ||||
| matched = False | matched = False | ||||
| for p1 in seqs: | for p1 in seqs: | ||||
| p2 = nplp | p2 = nplp | ||||
| Context not available. | |||||