Page MenuHome

Foreach_get crash for any non existant attribute
Closed, ResolvedPublic


mesh.polygons.foreach_get('co', vcoords)

This crashes because polygons doesn't have a "co" attribute, I meant to write "vertices" instead of "polygons". I had to start writing this bug report and test in older versions of blender to notice my mistake (and modified the title accordingly). It should do a simple check against one element or something.