diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-07-05 23:25:34 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-07-05 23:25:34 +0300 |
commit | 0e2915b2929aa312a03bc4d3a606bb8073fcead0 (patch) | |
tree | 14802791f2cb342de20565a58e39684840da031a /source/blender/makesrna/intern/rna_armature.c | |
parent | 4d00e95ee3ed91f86262bb218f1c5df901da724c (diff) |
RNA: correct callback type
Missed when changing callbacks from int to bool type.
Diffstat (limited to 'source/blender/makesrna/intern/rna_armature.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_armature.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_armature.c b/source/blender/makesrna/intern/rna_armature.c index b6eb0aed709..7af3746b855 100644 --- a/source/blender/makesrna/intern/rna_armature.c +++ b/source/blender/makesrna/intern/rna_armature.c @@ -355,7 +355,7 @@ static void rna_EditBone_connected_check(EditBone *ebone) } } -static void rna_EditBone_connected_set(PointerRNA *ptr, int value) +static void rna_EditBone_connected_set(PointerRNA *ptr, bool value) { EditBone *ebone = (EditBone *)(ptr->data); @@ -475,7 +475,7 @@ static void rna_Armature_bones_next(CollectionPropertyIterator *iter) iter->valid = (internal->link != NULL); } -static int rna_Armature_is_editmode_get(PointerRNA *ptr) +static bool rna_Armature_is_editmode_get(PointerRNA *ptr) { bArmature *arm = (bArmature *)ptr->id.data; return (arm->edbo != NULL); |