the3dadvantage/Modeling-Cloth

Using Grab on meshes with Array, Bevel, Mirror or Solidify modifiers causes an error

Opened this issue · 0 comments

mulg commented

Using Grab on meshes with Array, Bevel, Mirror or Solidify modifiers gives a following error:

Trackback (most recent call last):
File "...\ModelingCloth.py", line 2020, in modal main_drag(context, event)
File "...\ModelingCloth.py, line 1979, in main_drag vidx = [v for v in obj.data.polygons[face_index].vertices]
IndexError: bpy_prop_collection[index]: index 512 out of range, size 256
location: :-1

The error is reproducible 100% of the time and appears when trying to Grab vertices generated by mentioned modifiers (no error when grabbing base vertices). Subdivision Surface, Multiresolution and other modifiers that also generate mesh work just fine. Weird.

Also it would be cool to set a radius and curve falloff for Grab. Just sayin'.