forked from bartvdbraak/blender
Fix T47592: Wrong line width w/ custom-bones
This commit is contained in:
parent
3091935fec
commit
82d6162990
@ -1891,6 +1891,9 @@ static void draw_pose_bones(Scene *scene, View3D *v3d, ARegion *ar, Base *base,
|
||||
}
|
||||
}
|
||||
|
||||
/* custom bone may draw outline double-width */
|
||||
glLineWidth(1.0f);
|
||||
|
||||
/* wire draw over solid only in posemode */
|
||||
if ((dt <= OB_WIRE) || (arm->flag & ARM_POSEMODE) || ELEM(arm->drawtype, ARM_LINE, ARM_WIRE)) {
|
||||
/* draw line check first. we do selection indices */
|
||||
|
Loading…
Reference in New Issue
Block a user