ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/ot/obj2mesh.c
(Generate patch)

Comparing ray/src/ot/obj2mesh.c (file contents):
Revision 2.5 by schorsch, Thu Jun 5 19:29:34 2003 UTC vs.
Revision 2.7 by greg, Mon Jul 14 05:00:45 2003 UTC

# Line 6 | Line 6 | static const char RCSid[] = "$Id$";
6   */
7  
8   #include "copyright.h"
9 + #include "platform.h"
10   #include "standard.h"
11   #include "cvmesh.h"
12   #include "otypes.h"
# Line 57 | Line 58 | char  *argv[];
58                          error(USER, errmsg);
59                          break;
60                  }
61 +
62 +        if (i < argc-2)
63 +                error(USER, "too many file arguments");
64                                          /* initialize mesh */
65          cvinit(i==argc-2 ? argv[i+1] : "<stdout>");
66                                          /* load material input */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines