change textures by python


(2abstract4u) #1

hi when i change tthe texture with python it has not the attributes from the mapTo menu !?
how can i freeze them so they will look like i made them in the blend file

thanxx


(2abstract4u) #2

SOLVED !

use this:

mat.setTexture(0, footex, Texture.TexCo[‘OBJECT’])