andyp123 / blender_vertex_color_master

Blender addon for working more precisely with vertex colours.
365 stars 40 forks source link

0.9.0 (Blender 4.2.3) Transferring Vertex Colors to Weight Paint results in an error #59

Open xDonnervogelx opened 3 weeks ago

xDonnervogelx commented 3 weeks ago

Having another traceback call with my mesh. I might investigate further in this matter, in case it's caused by a high poly count or something else.

I press the key and the error pops out grafik

Python: Traceback (most recent call last):
  File "C:\Users\X\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\vertex_color_master\vcm_ops.py", line 759, in execute
    color_to_weights(obj, vi['src_vcol'], vi['src_channel_idx'], vi['dst_vgroup_idx'])
  File "C:\Users\X\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\vertex_color_master\vcm_helpers.py", line 300, in color_to_weights
    vertex_values[vi][0] += src_vcol.data[loop_index].color[src_channel_idx]
                            ~~~~~~~~~~~~~^^^^^^^^^^^^
IndexError: bpy_prop_collection[index]: index 9873 out of range, size 9873

It doesn't seem to have to do with my mirror issue - having none, one or all vertices selected changes nothing, still error. Changing input channel also doesn't change anything, R, G, B and A are the same result, error.

Blender 4.2.3 Addon ver: 0.9.0

If I find out more I'll add it to this post, hope this leads anywhere as is though. Can't really use the addon like this.