Cleanup: rename bone-select to xray
[blender.git] / source / blender / draw / engines / gpencil / gpencil_draw_utils.c
index 40b6a4e5b2b2b6f8738f1830b4f62eca9cfda551..c8b70953f87efa04c86c8429cc9ac2a5498ebaa0 100644 (file)
@@ -1508,7 +1508,7 @@ void DRW_gpencil_populate_datablock(
                if ((draw_ctx->obact) && (draw_ctx->object_mode == OB_MODE_POSE) &&
                    (v3d->overlay.flag & V3D_OVERLAY_BONE_SELECT))
                {
-                       opacity = opacity * v3d->overlay.bone_select_alpha;
+                       opacity = opacity * v3d->overlay.xray_alpha_bone;
                }
                /* fade no active layers */
                if ((overlay) && (draw_ctx->object_mode == OB_MODE_GPENCIL_PAINT) &&