diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-08-21 12:38:29 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-08-21 12:38:29 +0400 |
commit | e242f66ae6755a9cac4979e0437eed5de6267486 (patch) | |
tree | 9ae18a4a10d021b17cb03993a8921634808e818c /release | |
parent | 76eeba360805e956b3db5e969b64270188e8fa89 (diff) |
bugfix for recent renaming [#23400] Unable to import *.3ds/*.obj files with textures
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/io/import_scene_obj.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/io/import_scene_obj.py b/release/scripts/io/import_scene_obj.py index 2b5a3f06832..655f797750e 100644 --- a/release/scripts/io/import_scene_obj.py +++ b/release/scripts/io/import_scene_obj.py @@ -745,7 +745,7 @@ def create_mesh(new_objects, has_ngons, CREATE_FGONS, CREATE_EDGES, verts_loc, v image, has_data = unique_material_images[context_material] if image: # Can be none if the material dosnt have an image. blender_tface.image = image - blender_tface.tex = True + blender_tface.use_image = True if has_data and image.depth == 32: blender_tface.blend_type = 'ALPHA' |