I've written a script that edits the UV coordinates of a mesh to achieve toon shading using a texturemap.
1. The first problem is that material buttons of the objects that the script alter turn red and then dissapear when I exit and re-enter blender. What am I doing wrong?
2. And I repeat my previous post: How can I perform Apply Size/Rot using Python?
Any help will be appreciated