Blender Git Loki
Git Commits -> Revision fa14c61
Revision fa14c61 by Alexander Gavrilov January 3, 2021, 20:40 (GMT) |
Bone Overlay: support bone wireframe opacity settings. 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 two bone opacity sliders that are used for the 'wireframe' armature drawing mode. One directly controls the opacity in a uniform way. The other one allows fade based on the depth between the near and far clip planes in order to provide an automatic visual cue about which bones are closest. |
Commit Details:
Full Hash: fa14c613b10765adfbc465d97d9bdbbbbddd4ed0
Parent Commit: 211631c
Lines Changed: +285, -85
1 Added Path:
/source/blender/draw/engines/overlay/shaders/armature_alpha_lib.glsl (+25, -0) (View)
15 Modified Paths:
/release/scripts/startup/bl_ui/space_view3d.py (+9, -4) (Diff)
/source/blender/blenloader/intern/versioning_290.c (+13, -0) (Diff)
/source/blender/draw/CMakeLists.txt (+1, -0) (Diff)
/source/blender/draw/engines/overlay/overlay_armature.c (+161, -42) (Diff)
/source/blender/draw/engines/overlay/overlay_private.h (+12, -12) (Diff)
/source/blender/draw/engines/overlay/overlay_shader.c (+36, -13) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_dof_solid_frag.glsl (+1, -1) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_envelope_solid_frag.glsl (+1, -2) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_shape_solid_frag.glsl (+1, -3) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_sphere_solid_frag.glsl (+4, -6) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_stick_frag.glsl (+1, -1) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_wire_frag.glsl (+1, -1) (Diff)
/source/blender/makesdna/DNA_view3d_defaults.h (+2, -0) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+16, -0) (Diff)
/source/blender/blenloader/intern/versioning_290.c (+13, -0) (Diff)
/source/blender/draw/CMakeLists.txt (+1, -0) (Diff)
/source/blender/draw/engines/overlay/overlay_armature.c (+161, -42) (Diff)
/source/blender/draw/engines/overlay/overlay_private.h (+12, -12) (Diff)
/source/blender/draw/engines/overlay/overlay_shader.c (+36, -13) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_dof_solid_frag.glsl (+1, -1) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_envelope_solid_frag.glsl (+1, -2) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_shape_solid_frag.glsl (+1, -3) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_sphere_solid_frag.glsl (+4, -6) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_stick_frag.glsl (+1, -1) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_wire_frag.glsl (+1, -1) (Diff)
/source/blender/makesdna/DNA_view3d_defaults.h (+2, -0) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+16, -0) (Diff)