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
This commit is contained in:
parent
e2b3681f09
commit
057f9caac6
Notes:
blender-bot
2023-02-14 11:08:33 +01:00
Referenced by issue #82400, Sculpt: Dyntopo detail size edit operator visual glitch
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue