1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Fix grid missing lines #20246

This commit is contained in:
ordigdug
2018-07-21 08:38:00 -04:00
parent cfcb6e11f2
commit 7ab7bda48e

View File

@@ -4641,9 +4641,7 @@ void SpatialEditor::_init_grid() {
Vector3 p2_dest = p2 * (-axis_n1 + axis_n2);
Color line_color = secondary_grid_color;
if (j == 0) {
continue;
} else if (j % primary_grid_steps == 0) {
if (j % primary_grid_steps == 0) {
line_color = primary_grid_color;
}