[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [31499] trunk/blender/release/scripts/io/ import_scene_obj.py: bugfix for recent renaming [#23400] Unable to import * .3ds/*.obj files with textures

Campbell Barton ideasman42 at gmail.com
Sat Aug 21 10:38:29 CEST 2010


Revision: 31499
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=31499
Author:   campbellbarton
Date:     2010-08-21 10:38:29 +0200 (Sat, 21 Aug 2010)

Log Message:
-----------
bugfix for recent renaming [#23400] Unable to import *.3ds/*.obj files with textures

Modified Paths:
--------------
    trunk/blender/release/scripts/io/import_scene_obj.py

Modified: trunk/blender/release/scripts/io/import_scene_obj.py
===================================================================
--- trunk/blender/release/scripts/io/import_scene_obj.py	2010-08-21 08:22:47 UTC (rev 31498)
+++ trunk/blender/release/scripts/io/import_scene_obj.py	2010-08-21 08:38:29 UTC (rev 31499)
@@ -745,7 +745,7 @@
                         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'
 





More information about the Bf-blender-cvs mailing list