remove redundant []'s for list comprehension's, py2.4+ supports this.

This commit is contained in:
2010-09-19 07:07:14 +00:00
parent ce639f18d6
commit aaf328dc78
10 changed files with 17 additions and 17 deletions

View File

@@ -30,7 +30,7 @@ def randomize_selected(seed, loc, rot, scale, scale_even, scale_min):
random.seed(seed)
def rand_vec(vec_range):
return Vector([uniform(-val, val) for val in vec_range])
return Vector(uniform(-val, val) for val in vec_range)
for obj in bpy.context.selected_objects: