ID 460386 - Wireframe and polygon selection don't work correctly on objects with more than 8.3 million polys (16.7 million tris), showing random tris rather than quads

Follow

Problem summary
Wireframe and polygon selection don't work correctly on objects with more than 8.3 million polys (16.7 million tris), showing random tris rather than quads 

It seems to be around 8388608 polys (2^23) or 16777216 tris (2^24)

You can still paint and export the model correctly, however the wireframe in the UV and 3D views doesn't show the quads of the model, and if you selected one of these faces, sometimes it selects two instead


Customer reported version
mari.4.6v4


Customer reported platform
centos7


Steps to reproduce


1) Create a new project, importing the attached model with 8395822 polys

2) Enable wireframe, and zoom into the top right of UDIM 1001 in the UV viewport, notice the non-quad UVs

Expected behaviour
To get the regular quads of the mesh, like with 8383567.abc



Actual behaviour

Paths of the mesh have weird wireframe and face selection 


Workaround
If you have no single mesh with more than 8.3 million polys, then it doesn't seem to encounter the issue


Reproduced by support
This bug has been reproduced in:

Mari 4.6v4 - Windows 10, CentOS 7.8, macOS 10.15

Mari 4.0v1 - Windows 10

Mari 3.0v1 - Windows 10

Mari 2.6v5 - Windows 10, CentOS 7.8


Earliest version tested
Mari 2.6v5 - This issue appears to be in all versions of the product


    We're sorry to hear that

    Please tell us why