diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-03-31 08:20:00 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-03-31 08:20:00 +0400 |
commit | 3aec89982899043533aa7823159e1984aad044ad (patch) | |
tree | ce17723315171b2e52b453855c8dead12b102035 /release | |
parent | 6f05a8ec2a1ab691b2866b8e553d2ce3ccb04d86 (diff) |
Mesh.py - Updated doc and example about faceUV/vertexColor
image_billboard.py - was broken because textures dont accept the antialias flag anymore
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/image_billboard.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/image_billboard.py b/release/scripts/image_billboard.py index d3ba08cb5f8..2ca1d9d46e4 100644 --- a/release/scripts/image_billboard.py +++ b/release/scripts/image_billboard.py @@ -66,7 +66,8 @@ def alpha_mat(image): tex= B.Texture.New() tex.type= B.Texture.Types.IMAGE - tex.setImageFlags('InterPol', 'UseAlpha', 'Anti') + image.antialias = True + tex.setImageFlags('InterPol', 'UseAlpha') tex.setExtend('Clip') tex.image= image |