Move call to update the 3D grid into check for updating the view

This commit is contained in:
Aaron Franke 2020-11-04 04:03:28 -05:00
parent cc8503430d
commit a4f963f2c9
No known key found for this signature in database
GPG Key ID: 40A1750B977E56BF
1 changed files with 1 additions and 1 deletions

View File

@ -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 {