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/gpu/intern | |
parent | dbfbd6b9043d325456225aaf4c8af7bba7cc4aa0 (diff) |
DRW: support clipping for relationship lines
Diffstat (limited to 'source/blender/gpu/intern')
-rw-r--r-- | source/blender/gpu/intern/gpu_shader.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_shader.c b/source/blender/gpu/intern/gpu_shader.c index 55b696e5ba2..be82d3d5d99 100644 --- a/source/blender/gpu/intern/gpu_shader.c +++ b/source/blender/gpu/intern/gpu_shader.c @@ -1242,7 +1242,8 @@ GPUShader *GPU_shader_get_builtin_shader_with_config( GPU_SHADER_3D_FLAT_SELECT_ID, GPU_SHADER_3D_UNIFORM_SELECT_ID) || ELEM(shader, - GPU_SHADER_3D_FLAT_COLOR)); + GPU_SHADER_3D_FLAT_COLOR, + GPU_SHADER_3D_LINE_DASHED_UNIFORM_COLOR)); const char *world_clip_lib = datatoc_gpu_shader_cfg_world_clip_lib_glsl; const char *world_clip_def = "#define USE_WORLD_CLIP_PLANES\n"; /* In rare cases geometry shaders calculate clipping themselves. */ |