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:
authorCampbell Barton <ideasman42@gmail.com>2011-07-05 11:54:55 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-07-05 11:54:55 +0400
commitebf413ee5a69899f324c9adfed495bc4ee89870f (patch)
tree5229b65eb2b5588141d91df219fdd599781bba98 /io_scene_map/export_map.py
parent8c3bf31715bea7509e497c828b08f63c4055017f (diff)
fix [#27860] Quake MAP export error for 2.58.1
Diffstat (limited to 'io_scene_map/export_map.py')
-rw-r--r--io_scene_map/export_map.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/io_scene_map/export_map.py b/io_scene_map/export_map.py
index aeb8ed97..512e93c7 100644
--- a/io_scene_map/export_map.py
+++ b/io_scene_map/export_map.py
@@ -212,19 +212,19 @@ def is_tricyl_facegroup(faces):
verts = {}
tottri = 0
for f in faces:
- if len(f) == 3:
+ if len(f.vertices) == 3:
tottri += 1
- for v in f:
- verts[v.index] = 0
+ for vi in f.vertices:
+ verts[vi] = 0
if len(verts) != 6 or tottri != 2:
return False
# Now check that each vert has 3 face users
for f in faces:
- for v in f:
- verts[v.index] += 1
+ for vi in f.vertices:
+ verts[vi] += 1
for v in verts.values():
if v != 3: # vert has 3 users?