Blender Git Commit Log
Git Commits -> Revision 57a3cff
Revision 57a3cff by Campbell Barton (master) January 7, 2011, 09:50 (GMT) |
patch [#25440] Object.vertex_group fixin' from Dan Eicher (dna) From the tracker (with minor edits) ======================== cube = bpy.data.objects['Cube'] foo = cube.vertex_groups.new('foo') foo.add([1,3,5,7], 1.0, 'ADD') for i in range(len(cube.data.vertices)): try: weight = foo.weight(i) print('vert: %i weight: %f' % (i, weight)) except: pass foo.remove([1,3]) cube.vertex_groups.remove(foo) |
Commit Details:
Full Hash: 57a3cff3b890d93089a1b45c40bdc14d8101fb5e
SVN Revision: 34148
Parent Commit: 41c0006
Lines Changed: +138, -40