You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Tweak the 3D editor grid default to not go below subdivisions of 1 meter
Small subdivisions aren't useful that often and make it difficult for
people to get a sense of scale in 3D.
(cherry picked from commit 3472c3f6ea)
This commit is contained in:
committed by
Rémi Verschelde
parent
9d7f44c9aa
commit
fed17afe7d
@@ -5664,7 +5664,7 @@ void SpatialEditor::_init_grid() {
|
||||
// Offsets division_level for bigger or smaller grids.
|
||||
// Default value is -0.2. -1.0 gives Blender-like behavior, 0.5 gives huge grids.
|
||||
real_t division_level_bias = EditorSettings::get_singleton()->get("editors/3d/grid_division_level_bias");
|
||||
// Default largest grid size is 100m, 10^2 (default value is 2).
|
||||
// Default largest grid size is 8^2 when primary_grid_steps is 8 (64m apart, so primary grid lines are 512m apart).
|
||||
int division_level_max = EditorSettings::get_singleton()->get("editors/3d/grid_division_level_max");
|
||||
// Default smallest grid size is 1cm, 10^-2 (default value is -2).
|
||||
int division_level_min = EditorSettings::get_singleton()->get("editors/3d/grid_division_level_min");
|
||||
|
||||
Reference in New Issue
Block a user