diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2020-11-04 04:03:28 -0500 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2020-11-04 04:03:28 -0500 |
commit | a4f963f2c9fdb1416a543a10a5323faf857ed1f7 (patch) | |
tree | 825595b1401d1e5627dbd1808f90d3e7d6454341 /editor/plugins | |
parent | cc8503430d13eac1963998309cedb40c1ec6a17b (diff) |
Move call to update the 3D grid into check for updating the view
Diffstat (limited to 'editor/plugins')
-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 { |