# | Line 14 | Line 14 | static const char RCSid[] = "$Id$"; | |
---|---|---|
14 | ||
15 | #include "platform.h" | |
16 | #include "rtprocess.h" /* win_popen() */ | |
17 | – | #include "paths.h" |
17 | #include "ray.h" | |
18 | #include "ambient.h" | |
19 | #include "otypes.h" | |
# | Line 587 | Line 586 | setparam( /* get/set program parameter */ | |
586 | } | |
587 | switch (s[0]) { | |
588 | case 'u': /* uncorrelated sampling */ | |
589 | < | getparam(s+1, "uncorrelated sampling", 'b', |
590 | < | (void *)&rand_samp); |
589 | > | if (getparam(s+1, "uncorrelated sampling", 'b', |
590 | > | (void *)&rand_samp)) |
591 | > | reset_random(); |
592 | break; | |
593 | case 'l': /* limit */ | |
594 | switch (s[1]) { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |