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.5 by greg, Thu Feb 9 21:54:10 2023 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)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines