Page MenuHome

VertexGroup.add() - index parameter only accepts sequences of length 1
Closed, ResolvedPublic

Description

--- Operating System, Graphics card ---
Windows 7

--- Blender version with error, and version that worked ---
r58051

--- Short description of error ---
Behavior seems to have changed at some point after r57741, the following script worked without errors:

Traceback (most recent call last):
File "C:\Users\CoDEmanX\Desktop\blender-2.67-r58051-win64\2.67\scripts\addons\add_mesh_extra_objects\add_mesh_gears.py", line 680, in execute
tipGroup.add(verts_tip, 1.0, 'ADD')
ValueError: VertexGroup.add(): error with argument 1, "index" - sequences of dimension 0 should contain 1 items, not 72

location: <unknown location>:-1



--- Steps for others to reproduce the error (preferably based on attached .blend file) ---

Enable Mesh: Extra objects addon and add gear type. If it doesn't accept real sequences, why doesn't it ask for an int?

Event Timeline

codemanx edited a custom field.Jul 8 2013, 2:43 AM
Campbell Barton (campbellbarton) changed the task status from Unknown Status to Resolved.Jul 8 2013, 3:30 AM