Automatically sets your Maya project file to the location of your scene file.

When you hide an object on a layer that isn't the master layer in Maya, it will create an override that makes the layer respect your visibility, this will fix it.