Skip to content

Commit

Permalink
Fixed gaobj.count_vertices() error.
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxuser0 committed Dec 9, 2011
1 parent 6e9fd54 commit ee130ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gablend.py
Expand Up @@ -22,7 +22,7 @@ def randomize_vertex(vert, maxdist=2):


def mutate(gaobj, maxdist=2):
verts = gaobj.count_vertices()
verts = gaobj.verts
for vert in gaobj.obj.data.vertices:
chance = random.randint(1, verts)
if chance == verts:
Expand Down

0 comments on commit ee130ab

Please sign in to comment.