mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-09-07 13:18:19 +08:00
b1646d7564
Complete the AIS_ColorScale rectangle winding fix by following the upstream patch revision from Kirill Gavrilov <kirill@sview.ru>, commit 9b8c6240d10ab709ac611503dcc40e45b83fb3d1. Switch the rectangle helper from manual triangle edges to Graphic3d_ArrayOfPrimitives::AddQuadTriangleEdges() while preserving the top/bottom color layout. This keeps the quad in a consistent CCW orientation and avoids visible seam edge or front-face loss when BACK face culling is enabled. Add DRAW regression test tests/v3d/colorscale/colorscale_faceculling using the original reproduction scenario and a pixel check for the front face.