Fix T76593: Coordinate limit of 10,000 units

This is no longer needed for number button dragging to work properly.
This commit is contained in:
Campbell Barton 2020-05-18 21:14:36 +10:00
parent b75ce05c3b
commit b487ef6116
Notes: blender-bot 2023-06-12 00:52:52 +02:00
Referenced by issue #76593, Coordinate limit of 10,000 units, incoherence
1 changed files with 1 additions and 3 deletions

View File

@ -1577,9 +1577,7 @@ static void view3d_panel_transform(const bContext *C, Panel *panel)
}
else {
View3D *v3d = CTX_wm_view3d(C);
Scene *scene = CTX_data_scene(C);
const float lim = 10000.0f * max_ff(1.0f, ED_view3d_grid_scale(scene, v3d, NULL));
v3d_editvertex_buts(col, v3d, ob, lim);
v3d_editvertex_buts(col, v3d, ob, FLT_MAX);
}
}
else if (ob->mode & OB_MODE_POSE) {