Bug fix 1982

Three buttons, showing float values, had only precision of 2 digits.
Made it three.
This commit is contained in:
2004-12-07 18:14:03 +00:00
parent bc76f088bb
commit 28303c80e7
2 changed files with 5 additions and 5 deletions

View File

@@ -2467,7 +2467,7 @@ void logic_buts(void)
else if(prop->type==PROP_INT)
uiDefButI(block, NUM, butreturn, "", 215, (short)(70-20*a), 110, 19, &prop->data, -10000, 10000, 0, 0, "");
else if(prop->type==PROP_FLOAT)
uiDefButF(block, NUM, butreturn, "", 215, (short)(70-20*a), 110, 19, (float*) &prop->data, -10000, 10000, 100, 0, "");
uiDefButF(block, NUM, butreturn, "", 215, (short)(70-20*a), 110, 19, (float*) &prop->data, -10000, 10000, 100, 3, "");
else if(prop->type==PROP_STRING)
uiDefBut(block, TEX, butreturn, "", 215, (short)(70-20*a), 110, 19, prop->poin, 0, 127, 0, 0, "");
else if(prop->type==PROP_TIME)