Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.6 Bug Tracker: Browse

[#26227] "Sequence must have 2 items total, not -2"

Date:
2011-02-26 02:09
Priority:
3
State:
Closed
Submitted by:
Tom Edwards (artfunkel)
Assigned to:
Campbell Barton (campbellbarton)
Category:
Python
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
"Sequence must have 2 items total, not -2"
Detailed description
This code:

print( len(uvs[me_face.vertices[j]]) )
uv_face.uv[j] = uvs[ me_face.vertices[j] ]

Gives this result:

2
Traceback (most recent call last):
File "import", line 276, in <module>
ValueError: MeshTextureFace.uv, sequence must have 2 items total, not -2

Don't think this is an error on my part, somehow!

Followup

Message
 

Attached Files:

No Files Currently Attached

Changes:

Field Old Value Date By
status_idOpen2011-02-26 13:26campbellbarton
close_dateNone2011-02-26 13:26campbellbarton
assigned_tonone2011-02-26 13:26campbellbarton
StatusNew2011-02-26 13:26campbellbarton