Cleanup: Remove unused code in the Paint Cursor

This code was left here after the refactor, it was doing nothing and it
was causing an assert.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D8579
This commit is contained in:
Pablo Dobarro 2020-08-18 12:35:28 +02:00 committed by Pablo Dobarro
parent 762daacbc7
commit e3eb53a5b3
4 changed files with 3 additions and 6 deletions

@ -1 +1 @@
Subproject commit 4af22e0492f401c609a0203cad1a9bc7fa00b863
Subproject commit bc6623180aee561cba84ac11f5959b31016612ef

@ -1 +1 @@
Subproject commit 25b00a0a52c81408b9dc15ea320a79ee956b3c0a
Subproject commit 1bc96468a144750348ea6b134d4aaf457d7cc6cf

View File

@ -1762,9 +1762,6 @@ static void paint_cursor_cursor_draw_3d_view_brush_cursor_active(PaintCursorCont
GPU_matrix_pop();
/* This Cloth brush cursor overlay always works in cursor space. */
paint_cursor_drawing_setup_cursor_space(pcontext);
GPU_matrix_pop_projection();
wmWindowViewport(pcontext->win);
}

@ -1 +1 @@
Subproject commit 6a252de776d0b9dca3167c30a7621a4f1e9bc911
Subproject commit 44ae9d181c734c14ae22feb0d33ad39a626f8ce7