Pass bool arg to RNA_property_boolean_set
This commit is contained in:
parent
590efaacb8
commit
79a68617b3
|
@ -1989,7 +1989,7 @@ void saveTransform(bContext *C, TransInfo *t, wmOperator *op)
|
|||
}
|
||||
|
||||
if ((prop = RNA_struct_find_property(op->ptr, "mirror"))) {
|
||||
RNA_property_boolean_set(op->ptr, prop, t->flag & T_MIRROR);
|
||||
RNA_property_boolean_set(op->ptr, prop, (t->flag & T_MIRROR) != 0);
|
||||
}
|
||||
|
||||
if ((prop = RNA_struct_find_property(op->ptr, "constraint_axis"))) {
|
||||
|
|
Loading…
Reference in New Issue