Blender Git Commit Log

Git Commits -> Revision ecb5b55

Revision ecb5b55 by Bastien Montagne (master)
July 18, 2017, 08:41 (GMT)
Fix bad loss of precision when manually editing values in numbuttons.

While drawing nice 'rounded' values is OK also for 'low precision'
editing like dragging and such, it's quite an issue when you type in a
precise value, validate, edit again the value, and find a rounded
version of it instead of what you typed in!

So now, *only when entering textedit of num buttons*, we always get the highest
reasonable precision for floats (and use exponential notation when
values are too low or too high, to avoid tremendous amounts of zero's).

Commit Details:

Full Hash: ecb5b55d7faac16756212d54b9d52c6b397a7cda
Parent Commit: 2174a21
Lines Changed: +33, -8

3 Modified Paths:

/source/blender/editors/interface/interface.c (+24, -4) (Diff)
/source/blender/editors/interface/interface_handlers.c (+6, -3) (Diff)
/source/blender/editors/interface/interface_intern.h (+3, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021