From 62a8be4817ab5b2f4204e1fad902f8bade4d22b3 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 17 Sep 2010 16:45:42 +0000 Subject: 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() --- source/blender/makesrna/intern/rna_armature.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/makesrna/intern/rna_armature.c') 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) -- cgit v1.2.3