diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2022-01-06 15:42:45 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2022-01-06 16:43:18 +0300 |
commit | 1785286ecc908366f1c2935cfdc5287571563628 (patch) | |
tree | 8c4804e34a49458bed589a8e92fe8f74ed9017c3 /source/blender/makesdna/DNA_view3d_defaults.h | |
parent | 7bcf21e66e2e46042b027b4481fa9866e64fe9a1 (diff) |
Bone Overlay: support changing bone wireframe opacity.
When weight painting the bone overlay is extremely intrusive,
effectively requiring either extensive use of hiding individual
bones, or disabling the whole bone overlay between selections.
This addresses the issue by adding a bone opacity slider that
is used for the 'wireframe' armature drawing mode. It directly
controls the uniform opacity as a straightforward option.
Differential Revision: https://developer.blender.org/D11804
Diffstat (limited to 'source/blender/makesdna/DNA_view3d_defaults.h')
-rw-r--r-- | source/blender/makesdna/DNA_view3d_defaults.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_view3d_defaults.h b/source/blender/makesdna/DNA_view3d_defaults.h index c4d0c83b346..870197a401c 100644 --- a/source/blender/makesdna/DNA_view3d_defaults.h +++ b/source/blender/makesdna/DNA_view3d_defaults.h @@ -53,6 +53,7 @@ .wireframe_threshold = 1.0f, \ .wireframe_opacity = 1.0f, \ .xray_alpha_bone = 0.5f, \ + .bone_wire_alpha = 1.0f, \ .fade_alpha = 0.40f, \ .texture_paint_mode_opacity = 1.0f, \ .weight_paint_mode_opacity = 1.0f, \ |