Fix T64003: cannot enter object dimensions above 10000

When this button was still RNA based it was FLT_MAX (that changed to
10000 in rB1b8c3774a86e)

Reviewers: brecht

Maniphest Tasks: T64003

Differential Revision: https://developer.blender.org/D4763
This commit is contained in:
Philipp Oeser 2019-04-30 12:53:05 +02:00
parent e8daa61570
commit e15c8ee447
Notes: blender-bot 2023-10-04 09:42:55 +02:00
Referenced by issue #64003, High values in Dimension in N-panel
1 changed files with 1 additions and 1 deletions

View File

@ -1066,7 +1066,7 @@ static void v3d_object_dimension_buts(bContext *C, uiLayout *layout, View3D *v3d
0,
"");
UI_block_align_begin(block);
const float lim = 10000;
const float lim = FLT_MAX;
for (int i = 0; i < 3; i++) {
uiBut *but;
char text[3] = {'X' + i, ':', '\0'};