[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [21232] trunk/blender/release/scripts/ import_obj.py: oops ...
Dalai Felinto
dfelinto at gmail.com
Mon Jun 29 05:15:15 CEST 2009
Revision: 21232
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=21232
Author: dfelinto
Date: 2009-06-29 05:15:13 +0200 (Mon, 29 Jun 2009)
Log Message:
-----------
oops ... fix for last commit (transparent faces)
(I overcleaned up the file before commit)
I will keep testing this with other test files. I think glLoad() may be messing up with other stuffs.
Modified Paths:
--------------
trunk/blender/release/scripts/import_obj.py
Modified: trunk/blender/release/scripts/import_obj.py
===================================================================
--- trunk/blender/release/scripts/import_obj.py 2009-06-29 03:02:41 UTC (rev 21231)
+++ trunk/blender/release/scripts/import_obj.py 2009-06-29 03:15:13 UTC (rev 21232)
@@ -130,8 +130,10 @@
try:
# first time using this image. We need to load it first
image.glLoad()
+ except:
+ # probably the image is crashed
+ pass
else:
- # probably the image is crashed
has_data = image.has_data
# Adds textures for materials (rendering)
More information about the Bf-blender-cvs
mailing list