diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-05-07 01:24:30 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-05-07 01:24:41 +0300 |
commit | e3d30ffb9205a4974ecc551a1a2af842622855b6 (patch) | |
tree | 7c9d08189145d188f72831c9d4b4011def9d18c7 /source/blender/draw/modes/pose_mode.c | |
parent | 17370a27a36cb0d66cd55a4587639748de112d92 (diff) |
Armature: Add back relationship lines.
Diffstat (limited to 'source/blender/draw/modes/pose_mode.c')
-rw-r--r-- | source/blender/draw/modes/pose_mode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/draw/modes/pose_mode.c b/source/blender/draw/modes/pose_mode.c index efcd53691f8..18318046869 100644 --- a/source/blender/draw/modes/pose_mode.c +++ b/source/blender/draw/modes/pose_mode.c @@ -66,7 +66,7 @@ typedef struct POSE_Data { /* *********** STATIC *********** */ typedef struct POSE_PrivateData { - DRWShadingGroup *relationship_lines; + char pad; /* UNUSED */ } POSE_PrivateData; /* Transient data */ /* *********** FUNCTIONS *********** */ @@ -125,7 +125,6 @@ static void POSE_cache_init(void *vedata) static void POSE_cache_populate(void *vedata, Object *ob) { POSE_PassList *psl = ((POSE_Data *)vedata)->psl; - POSE_StorageList *stl = ((POSE_Data *)vedata)->stl; const DRWContextState *draw_ctx = DRW_context_state_get(); /* In the future this will allow us to implement face manipulators, @@ -139,8 +138,9 @@ static void POSE_cache_populate(void *vedata, Object *ob) .bone_wire = psl->bone_wire, .bone_envelope = psl->bone_envelope, .bone_axes = psl->bone_axes, + .relationship_lines = psl->relationship, }; - DRW_shgroup_armature_pose(ob, passes, stl->g_data->relationship_lines); + DRW_shgroup_armature_pose(ob, passes); } } } |