mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-25 05:11:56 +00:00
UDMF map element editing forms: fixed a problem where some fields were rounded to two decimal places (they are not rounded anymore). Fixes #1004
This commit is contained in:
parent
f63be092dc
commit
f7deef9ca3
1 changed files with 2 additions and 2 deletions
|
@ -69,8 +69,8 @@ namespace CodeImp.DoomBuilder.Controls
|
|||
|
||||
if(AllowDecimal)
|
||||
{
|
||||
newValue1 = Math.Round(UniFields.GetFloat(fields, field1, defaultValue), 2).ToString();
|
||||
newValue2 = Math.Round(UniFields.GetFloat(fields, field2, defaultValue), 2).ToString();
|
||||
newValue1 = UniFields.GetFloat(fields, field1, defaultValue).ToString();
|
||||
newValue2 = UniFields.GetFloat(fields, field2, defaultValue).ToString();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue