diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-09-17 20:45:42 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-09-17 20:45:42 +0400 |
commit | 62a8be4817ab5b2f4204e1fad902f8bade4d22b3 (patch) | |
tree | c1ccdc1bd95a69f5d27abf8b6929e1cf33b22276 /source/blender/makesrna/intern/rna_armature.c | |
parent | 6717b75ecdd7d9702b280dc3fccccc172e261d38 (diff) |
patch [#23840] [Pose]Bone.envelope(point=(0,0,0))
from Dan Eicher (dna)
Basically just wraps distfactor_to_bone() and passes the correct head/tail depending on which bone type it's called
from.
note:
renamed envelope() --> evaluate_envelope()
Diffstat (limited to 'source/blender/makesrna/intern/rna_armature.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_armature.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_armature.c b/source/blender/makesrna/intern/rna_armature.c index 7d036982007..d42cf625898 100644 --- a/source/blender/makesrna/intern/rna_armature.c +++ b/source/blender/makesrna/intern/rna_armature.c @@ -581,6 +581,8 @@ static void rna_def_bone(BlenderRNA *brna) RNA_def_property_float_sdna(prop, NULL, "arm_head"); RNA_def_property_array(prop, 3); RNA_def_property_ui_text(prop, "Armature-Relative Head", "Location of head end of the bone relative to armature"); + + RNA_api_bone(srna); } static void rna_def_edit_bone(BlenderRNA *brna) |