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

Fix z-fighting on origin grid lines in spatial editor

Fixes #21264.
This commit is contained in:
Rémi Verschelde
2018-08-29 09:27:50 +02:00
parent a8eaf69a68
commit 7e79fb80db

View File

@@ -4468,6 +4468,7 @@ void SpatialEditor::_init_indicators() {
VisualServer::get_singleton()->instance_geometry_set_cast_shadows_setting(origin_instance, VS::SHADOW_CASTING_SETTING_OFF);
origin_enabled = true;
grid_enabled = true;
last_grid_snap = 1;
}