Cleanup: Gizmo: Remove non matched glDisable

We use the polyline shader for drawing the rotation gizmo now.
This shader supports clipping without hardware clip planes.
This commit is contained in:
Clément Foucault 2020-07-16 04:32:09 +02:00
parent 07d70a76df
commit 671c6d8afd
1 changed files with 0 additions and 4 deletions

View File

@ -461,10 +461,6 @@ static void gizmo_dial_draw_select(const bContext *C, wmGizmo *gz, int select_id
GPU_select_load_id(select_id);
dial_draw_intern(C, gz, true, false, clip_plane);
if (clip_plane) {
glDisable(GL_CLIP_DISTANCE0);
}
}
static void gizmo_dial_draw(const bContext *C, wmGizmo *gz)