diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-11-04 10:49:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-04 10:49:23 +0100 |
commit | 3ec10bb07cb4a1ce1170c1d189475c8147576b7e (patch) | |
tree | 825595b1401d1e5627dbd1808f90d3e7d6454341 | |
parent | cc8503430d13eac1963998309cedb40c1ec6a17b (diff) | |
parent | a4f963f2c9fdb1416a543a10a5323faf857ed1f7 (diff) |
Merge pull request #43307 from aaronfranke/update-grid
Move call to update the 3D grid into check for updating the view
-rw-r--r-- | editor/plugins/node_3d_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/node_3d_editor_plugin.cpp b/editor/plugins/node_3d_editor_plugin.cpp index 5038941784..7002ffa109 100644 --- a/editor/plugins/node_3d_editor_plugin.cpp +++ b/editor/plugins/node_3d_editor_plugin.cpp @@ -351,8 +351,8 @@ void Node3DEditorViewport::_update_camera(float p_interp_delta) { update_transform_gizmo_view(); rotation_control->update(); + spatial_editor->update_grid(); } - spatial_editor->update_grid(); } Transform Node3DEditorViewport::to_camera_transform(const Cursor &p_cursor) const { |