diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2020-11-04 23:29:22 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2020-11-06 01:28:16 +0300 |
commit | 057f9caac6079a568770bdc0e7b798d89922ab73 (patch) | |
tree | 02e88e7a81780f1b16572764b51d83a7ef61dfdb | |
parent | e2b3681f09c774aac96e7e4a06922897bdacb773 (diff) |
Fix T82400: Dyntopo detail size edit operator visual glitch
Just a missing immUnbindProgram
Reviewed By: sergey
Maniphest Tasks: T82400
Differential Revision: https://developer.blender.org/D9459
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index 604378cd691..8afb10f254f 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -9362,8 +9362,9 @@ static void dyntopo_detail_size_edit_draw(const bContext *UNUSED(C), pos3d, cd, cd->preview_tri[0], cd->preview_tri[1], true, 120.0f); dyntopo_detail_size_parallel_lines_draw( pos3d, cd, cd->preview_tri[0], cd->preview_tri[2], false, -60.0f); - GPU_matrix_pop(); + immUnbindProgram(); + GPU_matrix_pop(); GPU_blend(GPU_BLEND_NONE); GPU_line_smooth(false); } |