BPY: fixed iteration over and slicing of multidim. arrays.

This commit is contained in:
Arystanbek Dyussenov
2010-01-20 14:06:38 +00:00
parent e7686b4cdb
commit 9790647ce6
6 changed files with 71 additions and 60 deletions

View File

@@ -564,7 +564,7 @@ def write(filename, objects, scene,
tface = uv_layer.data[f_index]
# workaround, since tface.uv iteration is wrong atm
uvs = [tface.uv1, tface.uv2, tface.uv3, tface.uv4][:len(tface.uv)]
uvs = tface.uv
# uvs = [tface.uv1, tface.uv2, tface.uv3]
# # add another UV if it's a quad