… | |
… | |
306 | { |
306 | { |
307 | LOG (llevError, "client::send_face (%d) out of bounds??\n", facenum); |
307 | LOG (llevError, "client::send_face (%d) out of bounds??\n", facenum); |
308 | return; |
308 | return; |
309 | } |
309 | } |
310 | |
310 | |
|
|
311 | faceinfo *f = face_info (facenum); |
|
|
312 | |
|
|
313 | // refuse tos end non-image faces |
|
|
314 | if (f->type) |
|
|
315 | return; |
|
|
316 | |
311 | if (!must_send_face (facenum)) |
317 | if (!must_send_face (facenum)) |
312 | return; |
318 | return; |
313 | |
319 | |
314 | // if for some reason we let a client without face caching connect, |
320 | // if for some reason we let a client without face caching connect, |
315 | // we better support that decision here and implement it. |
321 | // we better support that decision here and implement it. |
… | |
… | |
335 | print_facename (sl, *d); |
341 | print_facename (sl, *d); |
336 | send_packet (sl); |
342 | send_packet (sl); |
337 | |
343 | |
338 | if (EMI_smooth) |
344 | if (EMI_smooth) |
339 | { |
345 | { |
340 | faceinfo *f = face_info (facenum); |
|
|
341 | |
|
|
342 | if (f->smooth) |
346 | if (f->smooth) |
343 | { |
347 | { |
344 | send_face (f->smooth); |
348 | send_face (f->smooth); |
345 | |
349 | |
346 | packet sl ("smooth"); |
350 | packet sl ("smooth"); |