Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoDEmanX <codemanx@gmx.de>2013-11-19 14:11:51 +0400
committerCoDEmanX <codemanx@gmx.de>2013-11-19 14:11:51 +0400
commit3adbc8f30b229e7c9ff465183d5ab0acbbdf921a (patch)
tree5046c16321b283fadae16f337ffcef1cb6a33ed6 /io_scene_obj
parent804538b646b713d1e885c25497a1b9b48ea30c79 (diff)
T35358: Fix for addons using raise without Exception object. TODO: Find better way to terminate addons and inform user. More py 2.x leftovers in startup/bl_operators/uvcalc_*!
Diffstat (limited to 'io_scene_obj')
-rw-r--r--io_scene_obj/import_obj.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_obj/import_obj.py b/io_scene_obj/import_obj.py
index d51d62c7..a2957522 100644
--- a/io_scene_obj/import_obj.py
+++ b/io_scene_obj/import_obj.py
@@ -592,7 +592,7 @@ def create_mesh(new_objects,
for i, face in enumerate(faces):
if len(face[0]) < 2:
- pass # raise "bad face"
+ pass # raise Exception("bad face")
elif len(face[0]) == 2:
if use_edges:
edges.append(face[0])