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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user