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

Comparing ray/src/cv/robjutil.c (file contents):
Revision 2.4 by greg, Fri Mar 12 18:32:33 2021 UTC vs.
Revision 2.6 by greg, Mon Sep 9 00:54:30 2024 UTC

# Line 185 | Line 185 | main(int argc, char *argv[])
185          }
186          if (verbose)
187                  fputs("Checking for duplicate faces...\n", stderr);
188 <        if (findDuplicateFaces(myScene))
188 >        if (findDuplicateFaces(myScene)) {
189                  n = deleteFaces(myScene, FACE_DUPLICATE, 0);
190 <        if (n) {
191 <                sprintf(cbuf, "Removed %d duplicate faces", n);
192 <                addComment(myScene, cbuf);
190 >                if (n) {
191 >                        sprintf(cbuf, "Removed %d duplicate faces", n);
192 >                        addComment(myScene, cbuf);
193 >                }
194          }
195          if (do_triangulate) {
196                  if (verbose)
# Line 237 | Line 238 | userr:
238   }
239  
240   void
241 < eputs(char *s)                          /* put string to stderr */
241 > eputs(const char *s)                    /* put string to stderr */
242   {
243          static int  midline = 0;
244  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines