Update of /cvsroot/plib/plib/src/ssg
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6236
Modified Files:
ssgLoadX.cxx
Log Message:
Adding a patch from Jan Reucker for DirectX writers that don't put a comma where one should be (e-mail 12/18/05, 8:32 AM)
Index: ssgLoadX.cxx
===================================================================
RCS file: /cvsroot/plib/plib/src/ssg/ssgLoadX.cxx,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- ssgLoadX.cxx 5 Jan 2006 20:54:15 -0000 1.24
+++ ssgLoadX.cxx 5 Jan 2006 21:38:31 -0000 1.25
@@ -419,8 +419,11 @@
parser.expectNextToken(";");
if(i==nNoOfVertices-1)
parser.expectNextToken(";");
- else
- parser.expectNextToken(",");
+ // Commented out by J. Reucker 2005-12-16
+ // Some .x export plugins forget to add the ",", but the
+ // parser will work with and without "," if it doesn't expect it
+ //~ else
+ //~ parser.expectNextToken(",");
currentMesh.addPerVertexTextureCoordinate2( tv ) ;
}
|