removed image_bake_from_uvs and replaced it with a module that does all the work and 4 scripts accessable from the UV/Image menu.

- bake wire
- bake image
- bake vcol
- bake normals

Fitting all the options for these into 1 PupBlock was not good.

An example of 4 different baking made from these scripts

http://members.iinet.net.au/~cpbarton/temp.png
This commit is contained in:
2006-07-29 07:14:11 +00:00
parent 9054a81eb2
commit 792114e476
8 changed files with 643 additions and 259 deletions

View File

@@ -0,0 +1,10 @@
from Blender import Draw
def Error_NoMeshSelected():
Draw.PupMenu('ERROR%t|No mesh objects selected')
def Error_NoMeshActive():
Draw.PupMenu('ERROR%t|Active object is not a mesh')
def Error_NoMeshUvSelected():
Draw.PupMenu('ERROR%t|No mesh objects with texface selected')
def Error_NoMeshUvActive():
Draw.PupMenu('ERROR%t|Active object is not a mesh with texface')