The CesiumInspector causes the Polygon to display incorrectly

The Polygon to display incorrectly When I introduced CesiumInspector.
The online example is the blue Polygon with a problem.


But my local is blue and red polygon both have problems.

I would like to know why there is a problem when I introduce CesiumInspector but not the other way around.
Thanks!

Hi @Wicken_Hey

This may be occurring because the CesiumInspector enables globe.depthTestAgainstTerrain. If you manually set that to false, the polygon appears normally again, as shown in this Sandcastle.

polygondepth

Thank you very much!