Armature: Fix missing bone edges in object mode.

This commit is contained in:
2018-05-20 22:53:33 +02:00
parent 6b38fa8cab
commit 2241a61aab

View File

@@ -988,7 +988,7 @@ static void OBJECT_cache_init(void *vedata)
{
/* Solid bones */
DRWState state = DRW_STATE_WRITE_COLOR | DRW_STATE_WRITE_DEPTH | DRW_STATE_DEPTH_LESS_EQUAL | DRW_STATE_CULL_BACK;
DRWState state = DRW_STATE_WRITE_COLOR | DRW_STATE_WRITE_DEPTH | DRW_STATE_DEPTH_LESS_EQUAL;
psl->bone_solid = DRW_pass_create("Bone Solid Pass", state);
psl->bone_outline = DRW_pass_create("Bone Outline Pass", state);
}