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

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 {