forked from bartvdbraak/blender
changed the max decimal points to show from 7 to 6, since with float precision problems the median point of a selection could be 0.0000003
This commit is contained in:
parent
fe62b62cb0
commit
613e9b9926
@ -74,8 +74,8 @@
|
||||
#define MENU_ITEM_HEIGHT 20
|
||||
#define MENU_SEP_HEIGHT 6
|
||||
|
||||
#define PRECISION_FLOAT_MAX 7
|
||||
#define PRECISION_FLOAT_MAX_POW 10000000 /* pow(10, PRECISION_FLOAT_MAX) */
|
||||
#define PRECISION_FLOAT_MAX 6
|
||||
#define PRECISION_FLOAT_MAX_POW 1000000 /* pow(10, PRECISION_FLOAT_MAX) */
|
||||
|
||||
/* avoid unneeded calls to ui_get_but_val */
|
||||
#define UI_BUT_VALUE_UNSET DBL_MAX
|
||||
|
Loading…
Reference in New Issue
Block a user