[Bf-blender-cvs] [057f9caac60] master: Fix T82400: Dyntopo detail size edit operator visual glitch
Pablo Dobarro
noreply at git.blender.org
Thu Nov 5 23:28:34 CET 2020
Commit: 057f9caac6079a568770bdc0e7b798d89922ab73
Author: Pablo Dobarro
Date: Wed Nov 4 21:29:22 2020 +0100
Branches: master
https://developer.blender.org/rB057f9caac6079a568770bdc0e7b798d89922ab73
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
===================================================================
M source/blender/editors/sculpt_paint/sculpt.c
===================================================================
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);
}
More information about the Bf-blender-cvs
mailing list