Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-07-01 09:34:04 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-07-01 09:36:22 +0300
commitab6e23ffbbcdadaba305008bcaeae8516fd98c2b (patch)
treeb928c60ec3f7509094595324de2be662b9ab8da0
parent0d31ab362e6dae2f22c36d1016643dcfe3abbea8 (diff)
3D View: use 3px dashed relationship line
Seems this was accidentally doubled from 2.7x?
-rw-r--r--source/blender/draw/intern/draw_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_common.c b/source/blender/draw/intern/draw_common.c
index d40378dec2d..eff0d4c676e 100644
--- a/source/blender/draw/intern/draw_common.c
+++ b/source/blender/draw/intern/draw_common.c
@@ -254,7 +254,7 @@ DRWShadingGroup *shgroup_dynlines_dashed_uniform_color(DRWPass *pass, float colo
{
GPUShader *sh = GPU_shader_get_builtin_shader(GPU_SHADER_3D_LINE_DASHED_UNIFORM_COLOR);
- static float dash_width = 12.0f;
+ static float dash_width = 6.0f;
static float dash_factor = 0.5f;
DRWShadingGroup *grp = DRW_shgroup_line_batch_create(sh, pass);
DRW_shgroup_uniform_vec4(grp, "color", color, 1);