mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-05 11:28:17 -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();
|
int li = elementPlug.logicalIndex();
|
||||||
maya_cat.spam() << "li: " << li << endl;
|
maya_cat.spam() << "li: " << li << endl;
|
||||||
if (li > -1) {
|
if (li > -1) {
|
||||||
|
/*
|
||||||
if (li > 20) {
|
if (li > 20) {
|
||||||
maya_cat.error()
|
maya_cat.error()
|
||||||
<< "unusual blendmode :" << li << " for :" << layered_fn.name() << endl;
|
<< "unusual blendmode :" << li << " for :" << layered_fn.name() << endl;
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
logicalIdx = li;
|
logicalIdx = li;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user