diff options
Diffstat (limited to 'object_fracture/fracture_ops.py')
-rw-r--r-- | object_fracture/fracture_ops.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/object_fracture/fracture_ops.py b/object_fracture/fracture_ops.py index 61ccc182..1f966ae4 100644 --- a/object_fracture/fracture_ops.py +++ b/object_fracture/fracture_ops.py @@ -120,17 +120,17 @@ def getIslands(shard): while len(gproc) > 0: i = gproc.pop(0) - for f in sm.faces: + for p in sm.polygons: #if i in f.vertices: - for v in f.vertices: + for v in p.vertices: if v == i: - for v1 in f.vertices: + for v1 in p.vertices: if vgi[v1] == -1: vgi[v1] = gindex vgroups[gindex].append(v1) gproc.append(v1) - fgroups[gindex].append(f.index) + fgroups[gindex].append(p.index) gindex += 1 |