Pass bool arg to RNA_property_boolean_set

This commit is contained in:
Campbell Barton 2015-03-30 23:31:07 +11:00
parent 590efaacb8
commit 79a68617b3
1 changed files with 1 additions and 1 deletions

View File

@ -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"))) {