diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2017-05-03 09:34:24 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2017-05-03 09:37:24 +0300 |
commit | d116932f3a6cf081cd55aba11b4baf32b998a4d2 (patch) | |
tree | b2c911438b0ab53ec3b543f66698aa44959adc5b /source/blender/draw/intern/draw_cache.h | |
parent | 8b2640f08858f200eda84e19f74ed234a2833eb2 (diff) |
Add BBone and Wire Armature draw types to DrawManager.
Most of this was copying/adapting code from octahedral existing draw
code, tough part was to get BBone matrices to behave as expected, they
are using a fairly specific setup...
Addresses T51365 and T51362.
Diffstat (limited to 'source/blender/draw/intern/draw_cache.h')
-rw-r--r-- | source/blender/draw/intern/draw_cache.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/draw/intern/draw_cache.h b/source/blender/draw/intern/draw_cache.h index 2bfe40062f4..586ed98fed0 100644 --- a/source/blender/draw/intern/draw_cache.h +++ b/source/blender/draw/intern/draw_cache.h @@ -79,6 +79,9 @@ struct Batch *DRW_cache_speaker_get(void); /* Bones */ struct Batch *DRW_cache_bone_octahedral_get(void); struct Batch *DRW_cache_bone_octahedral_wire_outline_get(void); +struct Batch *DRW_cache_bone_box_get(void); +struct Batch *DRW_cache_bone_box_wire_outline_get(void); +struct Batch *DRW_cache_bone_wire_wire_outline_get(void); struct Batch *DRW_cache_bone_point_get(void); struct Batch *DRW_cache_bone_point_wire_outline_get(void); struct Batch *DRW_cache_bone_arrows_get(void); |