[Bf-blender-cvs] [b46c707ec23] blender2.8: Fix UV shadow drawing
Campbell Barton
noreply at git.blender.org
Thu May 17 18:44:15 CEST 2018
Commit: b46c707ec23e99dd06f22fef6b6f493cd6cdb4f1
Author: Campbell Barton
Date: Thu May 17 18:44:03 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBb46c707ec23e99dd06f22fef6b6f493cd6cdb4f1
Fix UV shadow drawing
===================================================================
M source/blender/editors/uvedit/uvedit_draw.c
===================================================================
diff --git a/source/blender/editors/uvedit/uvedit_draw.c b/source/blender/editors/uvedit/uvedit_draw.c
index beaae691e5e..a39db060886 100644
--- a/source/blender/editors/uvedit/uvedit_draw.c
+++ b/source/blender/editors/uvedit/uvedit_draw.c
@@ -415,10 +415,6 @@ static void draw_uvs_lineloop_bmfaces(BMesh *bm, const int cd_loop_uv_offset, co
}
GWN_batch_program_use_end(loop_batch);
GWN_batch_discard(loop_batch);
-
- immUnbindProgram();
-
- immEnd();
}
static void draw_uvs_lineloop_mpoly(Mesh *me, MPoly *mpoly, unsigned int pos)
More information about the Bf-blender-cvs
mailing list