diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2011-10-04 23:30:08 +0400 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2011-10-04 23:30:08 +0400 |
commit | cadd91608e298b67e2fea8a97e2a511220c2c810 (patch) | |
tree | 32db1e4ebf9e06a639c994a282118e7b5d00d2bb /io_import_images_as_planes.py | |
parent | 14e1bd556c576ef4266a29102b1c55386c7591d0 (diff) |
fix for io_import_images_as_planes add-on not working after texface patch (reported by Nathan Letwory over IRC)
Diffstat (limited to 'io_import_images_as_planes.py')
-rw-r--r-- | io_import_images_as_planes.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/io_import_images_as_planes.py b/io_import_images_as_planes.py index a7b04cd7..ba3030f2 100644 --- a/io_import_images_as_planes.py +++ b/io_import_images_as_planes.py @@ -145,9 +145,9 @@ def create_image_plane(self, context, material): plane.data.uv_textures.new() plane.data.materials.append(material) plane.data.uv_textures[0].data[0].image = img - plane.data.uv_textures[0].data[0].use_image = True - plane.data.uv_textures[0].data[0].blend_type = 'ALPHA' - plane.data.uv_textures[0].data[0].use_twoside = True + + material.game_settings.use_backface_culling = False + material.game_settings.alpha_blend = 'ALPHA' return plane def generate_paths(self): |