cmake & pep8 tidy up, also some style edits.

remove unneeded collection length function.
This commit is contained in:
Campbell Barton
2011-11-08 01:32:34 +00:00
parent 95948d0e0e
commit f086201518
26 changed files with 101 additions and 97 deletions

View File

@@ -105,8 +105,7 @@ class QuickFur(Operator):
psys.settings.child_type = 'INTERPOLATED'
obj.data.materials.append(mat)
obj.particle_systems[-1].settings.material = \
len(obj.data.materials)
psys.settings.material = len(obj.data.materials)
return {'FINISHED'}