| # | Line 24 | Line 24 | int code; | |
|---|---|---|
| 24 | { | |
| 25 | if (ray_pnprocs > 0) /* close children if any */ | |
| 26 | ray_pclose(0); | |
| 27 | < | else if (!ray_pnprocs) /* in parent */ |
| 27 | > | if (!ray_pnprocs) /* in parent */ |
| 28 | devclose(); | |
| 29 | exit(code); | |
| 30 | } | |
| # | Line 249 | Line 249 | commerr: | |
| 249 | error(COMMAND, errmsg); | |
| 250 | break; | |
| 251 | } | |
| 252 | + | if (newparam && ray_pnprocs) /* drop into immediate mode */ |
| 253 | + | ray_pclose(0); |
| 254 | #undef badcom | |
| 255 | } | |
| 256 | ||
| # | Line 331 | Line 333 | refine( /* refine a node */ | |
| 333 | { | |
| 334 | int growth; | |
| 335 | int mx, my; | |
| 334 | – | int i; |
| 336 | ||
| 337 | if (dev->inpready) /* quit for input */ | |
| 338 | return(0); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |