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_curve.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_curve.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_curve.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_curve.c b/source/blender/makesrna/intern/rna_curve.c index 3c4baa70c5f..59fbde13ee3 100644 --- a/source/blender/makesrna/intern/rna_curve.c +++ b/source/blender/makesrna/intern/rna_curve.c @@ -735,7 +735,7 @@ static void rna_Curve_splines_begin(CollectionPropertyIterator *iter, PointerRNA rna_iterator_listbase_begin(iter, BKE_curve_nurbs_get(cu), NULL); } -static int rna_Curve_is_editmode_get(PointerRNA *ptr) +static bool rna_Curve_is_editmode_get(PointerRNA *ptr) { Curve *cu = (Curve *)ptr->id.data; const short type = BKE_curve_type_get(cu); |