turns out shaders can have more than 20 inputs, so turning off the exit case for now

This commit is contained in:
Asad M. Zaman 2005-12-02 00:35:52 +00:00
parent d44e498146
commit b3d54ed848

View File

@ -335,11 +335,13 @@ read_surface_color(MayaShader *shader, MObject color, bool trans) {
int li = elementPlug.logicalIndex();
maya_cat.spam() << "li: " << li << endl;
if (li > -1) {
/*
if (li > 20) {
maya_cat.error()
<< "unusual blendmode :" << li << " for :" << layered_fn.name() << endl;
exit(1);
}
*/
logicalIdx = li;
break;
}