[Bf-blender-cvs] [2241a61aabf] blender2.8: Armature: Fix missing bone edges in object mode.

Clément Foucault noreply at git.blender.org
Sat May 26 23:23:29 CEST 2018


Commit: 2241a61aabf50bf10b7561dbd57fc2ded64d29c3
Author: Clément Foucault
Date:   Sun May 20 22:53:33 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB2241a61aabf50bf10b7561dbd57fc2ded64d29c3

Armature: Fix missing bone edges in object mode.

===================================================================

M	source/blender/draw/modes/object_mode.c

===================================================================

diff --git a/source/blender/draw/modes/object_mode.c b/source/blender/draw/modes/object_mode.c
index 40c721e64de..fcc0e0f20a5 100644
--- a/source/blender/draw/modes/object_mode.c
+++ b/source/blender/draw/modes/object_mode.c
@@ -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);
 	}



More information about the Bf-blender-cvs mailing list