support for object data material assignment in python
authorCampbell Barton <ideasman42@gmail.com>
Sat, 1 Oct 2011 17:54:33 +0000 (17:54 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 1 Oct 2011 17:54:33 +0000 (17:54 +0000)
commit9a88524f681d62cee51dfbc3186d59b4b0712a05
tree8fc1c2e8d81aac974e39d14d409f8c338530095b
parent738491555d4e831186de337800dce4f14c56d252
support for object data material assignment in python
eg:
 bpy.context.object.data.materials[0] = bpy.data.materials["SomeMaterial"]
source/blender/makesrna/RNA_access.h
source/blender/makesrna/intern/rna_ID.c
source/blender/makesrna/intern/rna_access.c
source/blender/makesrna/intern/rna_curve.c
source/blender/makesrna/intern/rna_internal.h
source/blender/makesrna/intern/rna_internal_types.h
source/blender/makesrna/intern/rna_mesh.c
source/blender/makesrna/intern/rna_meta.c
source/blender/python/intern/bpy_rna.c