fix for transform using the wrong RNA type

This commit is contained in:
2011-03-26 15:24:59 +00:00
parent 5aec085da0
commit 1fa04dce8c

View File

@@ -303,7 +303,7 @@ static int transformops_data(bContext *C, wmOperator *op, wmEvent *event)
if (mode == -1)
{
mode = RNA_int_get(op->ptr, "mode");
mode = RNA_enum_get(op->ptr, "mode");
}
retval = initTransform(C, t, op, event, mode);