diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2020-08-18 10:52:20 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2020-08-18 10:52:20 +0300 |
commit | be30023c68d463ec8d12b1b848bebf5fa7a2c288 (patch) | |
tree | 3a7298bb9f79a2b76172dcd22b7dc59a442dc165 /source/blender/draw/engines | |
parent | ff3ecf4aa95300f3c1d7fac539c9012c87aab39b (diff) | |
parent | 567e333ea47c3a0712e6e34e34029df51822d408 (diff) |
Merge branch 'blender-v2.90-release'
Diffstat (limited to 'source/blender/draw/engines')
-rw-r--r-- | source/blender/draw/engines/overlay/shaders/edit_curve_handle_geom.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/overlay/shaders/edit_curve_handle_geom.glsl b/source/blender/draw/engines/overlay/shaders/edit_curve_handle_geom.glsl index a400aadb052..9311542a79e 100644 --- a/source/blender/draw/engines/overlay/shaders/edit_curve_handle_geom.glsl +++ b/source/blender/draw/engines/overlay/shaders/edit_curve_handle_geom.glsl @@ -58,7 +58,7 @@ void main() if ((curveHandleDisplay != CURVE_HANDLE_ALL) && (!handle_selected)) { /* Nurbs must show the handles always. */ bool is_u_segment = (((vertFlag[1] ^ vertFlag[0]) & EVEN_U_BIT) != 0); - if (!is_u_segment) { + if ((!is_u_segment) && (color_id <= 4)) { return; } } |