Fix T79580: Control Mesh Only Partially Drawn After Filling a Surface From a Cage of Surface Curves

Differential Revision: https://developer.blender.org/D8600
This commit is contained in:
Antonio Vazquez 2020-08-18 09:51:36 +02:00
parent f94e322ab7
commit 567e333ea4

View file

@ -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;
}
}