From: <ha...@us...> - 2011-01-31 22:54:41
|
Revision: 15085 http://jmol.svn.sourceforge.net/jmol/?rev=15085&view=rev Author: hansonr Date: 2011-01-31 22:54:35 +0000 (Mon, 31 Jan 2011) Log Message: ----------- Modified Paths: -------------- trunk/Jmol/src/org/jmol/jvxl/readers/ObjReader.java Modified: trunk/Jmol/src/org/jmol/jvxl/readers/ObjReader.java =================================================================== --- trunk/Jmol/src/org/jmol/jvxl/readers/ObjReader.java 2011-01-31 22:05:03 UTC (rev 15084) +++ trunk/Jmol/src/org/jmol/jvxl/readers/ObjReader.java 2011-01-31 22:54:35 UTC (rev 15085) @@ -157,9 +157,9 @@ if (vertexCount == 4) { id = Parser.parseInt(tokens[4]) - 1; boolean isOK = (bsOK.get(id)); - addTriangleCheck(ia, ib, ic, (isOK ? 5 : 7), 0, false, color); + nTriangles = addTriangleCheck(ia, ib, ic, (isOK ? 5 : 7), 0, false, color); if (isOK) - nTriangles = addTriangleCheck(ib, ic, id, 3, 0, false, color); + nTriangles = addTriangleCheck(ia, ic, id, 6, 0, false, color); continue; } } else { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |