Pass bool arg to RNA_property_boolean_set
This commit is contained in:
@@ -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"))) {
|
||||
|
||||
Reference in New Issue
Block a user