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:
@@ -321,7 +321,8 @@ bool ED_object_add_generic_get_opts(bContext *C, wmOperator *op, const char view
|
||||
|
||||
/* Get layers! */
|
||||
{
|
||||
int a, layer_values[20];
|
||||
int a;
|
||||
bool layer_values[20];
|
||||
if (!layer)
|
||||
layer = &_layer;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user