CesiumInspector forces depth test against earth surface

Hi!

CeisumInspectorMixin forces depth test against earth surface, which leads to z-fighting when rendering entities (e.g. simple polygon). The cause of this problem is line 102 of CesiumInspectorViewModel.js

globe.depthTestAgainstTerrain = true;

``

Is this behavior expected? Should this be reported as a bug?

Regards,

Alexey

Hello Alexey,

I think that flag was turned on for one of the terrain inspecting features, but I can’t remember exactly what. You should be able to set it back to false with no side effects if you’re just inspecting entities.

Best,

Hannah