Commit: ab6e23ffbbcdadaba305008bcaeae8516fd98c2b
Author: Campbell Barton
Date:   Sun Jul 1 08:34:04 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBab6e23ffbbcdadaba305008bcaeae8516fd98c2b

3D View: use 3px dashed relationship line

Seems this was accidentally doubled from 2.7x?

===================================================================

M       source/blender/draw/intern/draw_common.c

===================================================================

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);

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to