diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-11-23 05:46:40 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-11-23 05:48:21 +0300 |
commit | d56c0a0a6affcdfd7335c5fce1892a82f23bdf37 (patch) | |
tree | 62149f583492ef6a9c4ee4aebe3da1cfb830ffaa /source/blender/editors/space_view3d | |
parent | 3fdcd2293eadc277bc02297d4688a66f0456613b (diff) |
Cleanup: rename bone-select to xray
This shows bones in font and uses the xray toggle binding.
Also 'bone select' isn't very meaningful on it's own.
Diffstat (limited to 'source/blender/editors/space_view3d')
-rw-r--r-- | source/blender/editors/space_view3d/space_view3d.c | 2 | ||||
-rw-r--r-- | source/blender/editors/space_view3d/view3d_edit.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_view3d/space_view3d.c b/source/blender/editors/space_view3d/space_view3d.c index 91b13e1ac87..0e8e5e1ee22 100644 --- a/source/blender/editors/space_view3d/space_view3d.c +++ b/source/blender/editors/space_view3d/space_view3d.c @@ -325,7 +325,7 @@ static SpaceLink *view3d_new(const ScrArea *UNUSED(sa), const Scene *scene) BKE_screen_view3d_shading_init(&v3d->shading); v3d->overlay.wireframe_threshold = 0.5f; - v3d->overlay.bone_select_alpha = 0.5f; + v3d->overlay.xray_alpha_bone = 0.5f; v3d->overlay.texture_paint_mode_opacity = 0.8; v3d->overlay.weight_paint_mode_opacity = 1.0f; v3d->overlay.vertex_paint_mode_opacity = 0.8; diff --git a/source/blender/editors/space_view3d/view3d_edit.c b/source/blender/editors/space_view3d/view3d_edit.c index c94aab1a3c1..5f0ce77703d 100644 --- a/source/blender/editors/space_view3d/view3d_edit.c +++ b/source/blender/editors/space_view3d/view3d_edit.c @@ -4942,7 +4942,7 @@ static int toggle_xray_exec(bContext *C, wmOperator *op) ELEM(v3d->shading.type, OB_WIRE, OB_SOLID)); if (v3d->shading.type == OB_WIRE) { - v3d->shading.flag ^= V3D_SHADING_XRAY_WIREFRAME; + v3d->shading.flag ^= V3D_SHADING_XRAY_BONE; } else { v3d->shading.flag ^= V3D_SHADING_XRAY; |