I am having some issues with display layers not functioning correctly with undo.
I have 3 spheres on 3 different display layers. I turn off one of these display layers and the sphere disappears. When I hit undo the sphere comes back on, but the display layer still says it is turned off. Looks like the display layers are not refreshing correctly when undo is used.
This happens in Maya 2018, 2017, and 2016. Looks like the earliest version I can find where it is still functions properly is Maya 2015.
Is this a known error? Is there a work around other then this mel script "updateLayerEditor();" after using undo?