After using the Hypershade In Maya 2017, the surface often becomes white in the Viewport.
If you experience that annoying bug, this is how you fix it. Unfortunately it is not a permanent fix (if you have one please share with us).
- Select the object
- Go to the mesh node (usually named as = *Shape#) -> Mesh Component Display
- Check the Display Colors
- Uncheck the Display Colors
Here is a simple script for that. Put this code to your Shelf.
Every time a mesh becoming white select the object and click the icon on the Shelf.
string $select_dd = `ls -shapes -sl`;
setAttr ($select_dd + ".displayColors") 1;
setAttr ($select_dd + ".displayColors") 0;
wow thank you so much
Excellent!! This bug is actually affecting Maya 2019 when importing a .ma or .mb from other version to 2019 version, great solution, thanks!
Thanks. It can also be reached from the Attribute Editor tabs, under the same names. So this was helpful because I forgot the name and I don’t use the Node Editor much yet.
I’m actually describing how to do this in the Attribute Editor.
You can’t do this in the Node Editor. Where is that coming from?
This fix still works in Maya 2020. (well, I just went to the Attribute editor like Alonzo suggested. the script didn’t work for me. )
That’s my original description. Where is this coming from guys?
How is this script not working for you?
You have to select the objects first. 🙂