diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-08-29 09:47:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-29 09:47:07 +0200 |
commit | 1ff772bb7e46143c59306396d009606c8d455891 (patch) | |
tree | f99661fc2645a9e5076d9b3736ac096273e7f12d | |
parent | a8eaf69a680ef464144d4c0cd3a6eba5f4d4e456 (diff) | |
parent | 7e79fb80db20337e23d11e2bbde829e9d5e8410f (diff) |
Merge pull request #21559 from akien-mga/3d-grid-zfighting
Fix z-fighting on origin grid lines in spatial editor
-rw-r--r-- | editor/plugins/spatial_editor_plugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/spatial_editor_plugin.cpp b/editor/plugins/spatial_editor_plugin.cpp index 906c51b9f6..202d47dfb3 100644 --- a/editor/plugins/spatial_editor_plugin.cpp +++ b/editor/plugins/spatial_editor_plugin.cpp @@ -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; } |