JoseConseco / GoB

Fork of original GoB script (I just added some fixes)
GNU General Public License v3.0
648 stars 78 forks source link

Please, help with a problem #436

Closed Ivan121q closed 1 year ago

Ivan121q commented 1 year ago

Screenshot_358

Ivan121q commented 1 year ago

The problem was solved

made a small change

--Polypaint--

if obj.data.color_attributes.active_color_index:
vcoldata = me.color_attributes[obj.data.color_attributes.active_color_index].data

--Polypaint--

if obj.data.color_attributes and obj.data.color_attributes.active_color_index >= 0: vcoldata = me.color_attributes[obj.data.color_attributes.active_color_index].data

kromar commented 1 year ago

thanks for reporting and proposing the fix, i added it to the blender 4 fixes branch.