diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-11-28 16:33:56 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-11-28 16:33:56 +0300 |
commit | a2b370dd6f55d6114da3ec1d86788e9c9786822f (patch) | |
tree | 8f5adc8b06e8f9506155e4906dd7ff5d11fdc987 /source/blender/makesrna/intern/rna_armature.c | |
parent | c4933cccfa74836ff88a6904abfaf52c8e0cde87 (diff) |
py/rna api
- object.modifiers.add()/remove()
- armature.edit_bones.active wasnt named correctly
Diffstat (limited to 'source/blender/makesrna/intern/rna_armature.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_armature.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_armature.c b/source/blender/makesrna/intern/rna_armature.c index 7986da818c8..57bb88496d3 100644 --- a/source/blender/makesrna/intern/rna_armature.c +++ b/source/blender/makesrna/intern/rna_armature.c @@ -662,7 +662,7 @@ static void rna_def_armature_edit_bones(BlenderRNA *brna, PropertyRNA *cprop) RNA_def_struct_sdna(srna, "bArmature"); RNA_def_struct_ui_text(srna, "Armature EditBones", "Collection of armature edit bones."); - prop= RNA_def_property(srna, "edit_bones", PROP_POINTER, PROP_NONE); + prop= RNA_def_property(srna, "active", PROP_POINTER, PROP_NONE); RNA_def_property_struct_type(prop, "EditBone"); RNA_def_property_pointer_sdna(prop, NULL, "act_edbone"); RNA_def_property_flag(prop, PROP_EDITABLE); |