Skip to content
Snippets Groups Projects
Commit 56a86394 authored by Campbell Barton's avatar Campbell Barton
Browse files

minor edit to fracture, while looking into another bug.

parent 933ff51a
No related branches found
No related tags found
No related merge requests found
......@@ -107,9 +107,7 @@ def getIslands(shard):
vgroups = []
fgroups = []
vgi = []
for v in sm.vertices:
vgi.append(-1)
vgi = [-1] * len(sm.vertices)
gindex = 0
for i in range(len(vgi)):
......@@ -119,6 +117,7 @@ def getIslands(shard):
fgroups.append([])
while len(gproc) > 0:
# XXX - is popping the first needed? - pop() without args is fastest - campbell
i = gproc.pop(0)
for p in sm.polygons:
#if i in f.vertices:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment