diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-03-30 20:09:05 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-03-30 20:09:05 +0400 |
commit | f469e0652aa3152752845834477f2939c40f908d (patch) | |
tree | a0c291dd1b3a6a08e76f8ed00850b3727a9de8e5 /source/blender/makesrna/intern/rna_pose.c | |
parent | 953af01d2ae4cc18789616edcb75454851ef4202 (diff) |
Node socket values now only have soft limits, rather than hard limits, so you
can type in any value, and only when sliding the number value there is a limit.
It was already possible to assign any value to a socket with node linking, so
this shouldn't cause any new issues.
Also raised the limits on the math nodes, with a patch by Agustin Benavidez.
Diffstat (limited to 'source/blender/makesrna/intern/rna_pose.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_pose.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_pose.c b/source/blender/makesrna/intern/rna_pose.c index 4b1090c2ae0..b6153162fc7 100644 --- a/source/blender/makesrna/intern/rna_pose.c +++ b/source/blender/makesrna/intern/rna_pose.c @@ -365,7 +365,7 @@ static void rna_PoseChannel_bone_group_index_set(PointerRNA *ptr, int value) pchan->agrp_index = value+1; } -static void rna_PoseChannel_bone_group_index_range(PointerRNA *ptr, int *min, int *max) +static void rna_PoseChannel_bone_group_index_range(PointerRNA *ptr, int *min, int *max, int *softmin, int *softmax) { Object *ob = (Object*)ptr->id.data; bPose *pose = (ob) ? ob->pose : NULL; @@ -404,7 +404,7 @@ static void rna_Pose_active_bone_group_index_set(PointerRNA *ptr, int value) pose->active_group = value+1; } -static void rna_Pose_active_bone_group_index_range(PointerRNA *ptr, int *min, int *max) +static void rna_Pose_active_bone_group_index_range(PointerRNA *ptr, int *min, int *max, int *softmin, int *softmax) { bPose *pose = (bPose*)ptr->data; |