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

Comparing ray/src/util/ranimate.c (file contents):
Revision 2.55 by greg, Sat Jun 8 02:49:19 2013 UTC vs.
Revision 2.57 by greg, Wed Jun 1 17:08:24 2022 UTC

# Line 1412 | Line 1412 | static int
1412   rmfile(char *fn)                        /* remove a file */
1413   {
1414          if (!silent)
1415 < #ifdef _WIN32
1415 > #if defined(_WIN32) || defined(_WIN64)
1416                  printf("\tdel %s\n", fn);
1417   #else
1418                  printf("\trm -f %s\n", fn);
# Line 1465 | Line 1465 | getblur(double *mbf, double *dbf)      /* get # blur sample
1465          int     nmblur, ndblur;
1466          char    *s;
1467                                          /* get motion blur */
1468 <        if (!vdef(MBLUR) || (mblurf = atof(vval(MBLUR))) < 0.0)
1468 >        if (vdef(ANIMATE) || !vdef(MBLUR) || (mblurf = atof(vval(MBLUR))) < 0.0)
1469                  mblurf = 0.0;
1470          if (mbf != NULL)
1471                  *mbf = mblurf;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines