display angle in axis/angle buttons as degrees as with euler rotations.

This commit is contained in:
Campbell Barton
2013-09-03 06:27:03 +00:00
parent 2dc988df8c
commit 033ca89f12

View File

@@ -471,6 +471,8 @@ static void ui_item_array(uiLayout *layout, uiBlock *block, const char *name, in
but->type = NUMSLI;
if (toggle && but->type == OPTION)
but->type = TOG;
if ((a == 0) && (subtype == PROP_AXISANGLE))
uiButSetUnitType(but, PROP_UNIT_ROTATION);
}
if (boolarr) {