Previous commit for Xray bones disabled selection of bones. Overlooked one

if()...
This commit is contained in:
2005-07-13 20:21:54 +00:00
parent 2bde6502f2
commit 682c51663e

View File

@@ -3715,7 +3715,9 @@ void draw_object(Base *base)
drawlattice(ob);
break;
case OB_ARMATURE:
{
if(G.f & G_PICKSEL) // no xray delay in picking select
draw_armature(ob, dt);
else {
bArmature *arm= ob->data;
if(G.vd->xray==0 && (arm->flag & ARM_DRAWXRAY))
add_view3d_after(G.vd, base, V3D_XRAY);