diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-05-06 19:36:27 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-05-06 19:42:23 +0300 |
commit | c769b1a5533bb0fcf04452cde4d81dd77f7ae03b (patch) | |
tree | f80d6bb3a8a9ab41f07e3f71e2a0eb2ab62d17e3 /source/blender/editors/include/ED_object.h | |
parent | 48ddb2b98a5d9f77d5589afd137019dc85f1e460 (diff) |
Armature: Add a special Pass for bone axes.
In object mode, the axes are drawn like any other wire objects with
depth test and depth write. Thus enabling MSAA to work but not their xray
behaviour.
In edit armature/pose mode, draw smooth line without depth testing. This
produces wrong draw ordering problem but still gives the desired xray
behaviour. We do it outside of the MSAA pass since the xray behaviour is not
compatible with it. But we are drawing smoothed lines so no need for MSAA.
The lines are 2px thick and improve readability.
Diffstat (limited to 'source/blender/editors/include/ED_object.h')
0 files changed, 0 insertions, 0 deletions