RNA: use bool for boolean RNA types

We were using int's for bool arguments in BKE,
just to avoid having wrapper functions.
This commit is contained in:
2018-07-01 15:47:09 +02:00
parent 3ec6f2172d
commit ddee0931b8
68 changed files with 435 additions and 359 deletions

View File

@@ -827,7 +827,7 @@ static void rna_FKeyframe_points_add(FCurve *fcu, int tot)
}
}
static void rna_FKeyframe_points_remove(FCurve *fcu, ReportList *reports, PointerRNA *bezt_ptr, int do_fast)
static void rna_FKeyframe_points_remove(FCurve *fcu, ReportList *reports, PointerRNA *bezt_ptr, bool do_fast)
{
BezTriple *bezt = bezt_ptr->data;
int index = (int)(bezt - fcu->bezt);