From b3d54ed848d0f1c1b29f8fe3f2e2df2c77d9847c Mon Sep 17 00:00:00 2001 From: "Asad M. Zaman" Date: Fri, 2 Dec 2005 00:35:52 +0000 Subject: [PATCH] turns out shaders can have more than 20 inputs, so turning off the exit case for now --- pandatool/src/maya/mayaShaderColorDef.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pandatool/src/maya/mayaShaderColorDef.cxx b/pandatool/src/maya/mayaShaderColorDef.cxx index a5f60eda1b..9418f77d4a 100644 --- a/pandatool/src/maya/mayaShaderColorDef.cxx +++ b/pandatool/src/maya/mayaShaderColorDef.cxx @@ -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; }