Merge pull request #21559 from akien-mga/3d-grid-zfighting

Fix z-fighting on origin grid lines in spatial editor
This commit is contained in:
Rémi Verschelde 2018-08-29 09:47:07 +02:00 committed by GitHub
commit 1ff772bb7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;
}