# | Line 265 | Line 265 | register RAY *r; | |
---|---|---|
265 | if (nd.specfl & SP_PURE && nd.rdiff <= FTINY && nd.tdiff <= FTINY) | |
266 | return; /* 100% pure specular */ | |
267 | ||
268 | < | if (r->ro->otype == OBJ_FACE || r->ro->otype == OBJ_RING) |
268 | > | if (r->ro != NULL && (r->ro->otype == OBJ_FACE || |
269 | > | r->ro->otype == OBJ_RING)) |
270 | nd.specfl |= SP_FLAT; | |
271 | ||
272 | if (nd.specfl & (SP_REFL|SP_TRAN) && !(nd.specfl & SP_PURE)) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |