# | Line 44 | Line 44 | markvirtuals() /* find and mark virtual sources */ | |
---|---|---|
44 | if (!isvlight(objptr(o->omod)->otype)) | |
45 | continue; | |
46 | if (sfun[o->otype].of == NULL || | |
47 | < | sfun[o->otype].of->getpleq == NULL) |
48 | < | objerror(o, USER, "illegal material"); |
47 | > | sfun[o->otype].of->getpleq == NULL) { |
48 | > | objerror(o,WARNING,"secondary sources not supported"); |
49 | > | continue; |
50 | > | } |
51 | if (nvobjects == 0) | |
52 | vobject = (OBJECT *)malloc(sizeof(OBJECT)); | |
53 | else |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |