| # | Line 373 | Line 373 | int force; | |
|---|---|---|
| 373 | if (!force) | |
| 374 | return(0); | |
| 375 | /* need to compute new light set */ | |
| 376 | < | copystruct(&cvw, &stdview); |
| 376 | > | cvw = stdview; |
| 377 | cvw.type = VT_PER; | |
| 378 | VCOPY(cvw.vp, ocent); | |
| 379 | cvw.vup[0] = 1.; cvw.vup[1] = cvw.vup[2] = 0.; | |
| # | Line 774 | Line 774 | char *oldnm, *nam; | |
| 774 | opdup = (DOBJECT *)malloc(sizeof(DOBJECT)); | |
| 775 | if (opdup == NULL) | |
| 776 | error(SYSTEM, "out of memory in dobj_dup"); | |
| 777 | < | copystruct(opdup, op); |
| 777 | > | *opdup = *op; |
| 778 | /* rename */ | |
| 779 | strcpy(opdup->name, nam); | |
| 780 | /* get our own copy of transform */ | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |