Player2VRM icon indicating copy to clipboard operation
Player2VRM copied to clipboard

[BUG] ModelScale not precise - bad float approximation

Open LoneDev6 opened this issue 5 years ago • 0 comments

Hello! Seems that ModelScale gets rounded to first 2 digits. For example a value of 0.15 won't work, only 0.1 will.

ModelScale code: https://github.com/yoship1639/Player2VRM/blob/90aa950b3e681e6e25b86135d12fb0f976047538/Player2VRM/Player2VRM.cs#L348

Float conversion: https://github.com/yoship1639/Player2VRM/blob/01133dc562c167639fcfd6bd76775c3265e92004/Player2VRM/Settings.cs#L46

Thanks!

LoneDev6 avatar Sep 26 '20 23:09 LoneDev6