Merge branch 'blender-v2.81-release'

This commit is contained in:
Campbell Barton 2019-10-16 14:16:12 +11:00
commit 0e7fe872de
1 changed files with 1 additions and 1 deletions

View File

@ -3391,7 +3391,7 @@ static void ui_but_build_drawstr_float(uiBut *but, double value)
if (value == (double)FLT_MAX) {
STR_CONCAT(but->drawstr, slen, "inf");
}
else if (value == (double)-FLT_MIN) {
else if (value == (double)-FLT_MAX) {
STR_CONCAT(but->drawstr, slen, "-inf");
}
else if (subtype == PROP_PERCENTAGE) {