mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
turns out shaders can have more than 20 inputs, so turning off the exit case for now
This commit is contained in:
parent
d44e498146
commit
b3d54ed848
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user