diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-16 09:37:08 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-16 09:37:08 +0300 |
commit | 6aebb5a4d5f5c0866263b8507dbed460f60ba64f (patch) | |
tree | 51ecc4f934f93e571ff483926c4a028d463c819e /source/blender/draw/modes | |
parent | dbfbd6b9043d325456225aaf4c8af7bba7cc4aa0 (diff) |
DRW: support clipping for relationship lines
Diffstat (limited to 'source/blender/draw/modes')
-rw-r--r-- | source/blender/draw/modes/object_mode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/modes/object_mode.c b/source/blender/draw/modes/object_mode.c index 988ada8325b..bef0f6e488d 100644 --- a/source/blender/draw/modes/object_mode.c +++ b/source/blender/draw/modes/object_mode.c @@ -1359,8 +1359,8 @@ static void OBJECT_cache_init(void *vedata) /* -------- STIPPLES ------- */ /* Relationship Lines */ - sgl->relationship_lines = shgroup_dynlines_dashed_uniform_color(sgl->non_meshes, gb->colorWire); - sgl->constraint_lines = shgroup_dynlines_dashed_uniform_color(sgl->non_meshes, gb->colorGridAxisZ); + sgl->relationship_lines = shgroup_dynlines_dashed_uniform_color(sgl->non_meshes, gb->colorWire, draw_ctx->sh_cfg); + sgl->constraint_lines = shgroup_dynlines_dashed_uniform_color(sgl->non_meshes, gb->colorGridAxisZ, draw_ctx->sh_cfg); /* Force Field Curve Guide End (here because of stipple) */ /* TODO port to shader stipple */ |