… | |
… | |
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 | if (faces_sent[facenum]) |
311 | faceinfo *f = face_info (facenum); |
|
|
312 | |
|
|
313 | // refuse tos end non-image faces |
|
|
314 | if (f->type) |
312 | return; |
315 | return; |
313 | |
316 | |
314 | faces_sent[facenum] = true; |
317 | if (!must_send_face (facenum)) |
|
|
318 | return; |
315 | |
319 | |
316 | // 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, |
317 | // we better support that decision here and implement it. |
321 | // we better support that decision here and implement it. |
318 | if (!facecache) |
322 | if (!facecache) |
319 | return send_image (facenum); |
323 | return send_image (facenum); |
… | |
… | |
337 | print_facename (sl, *d); |
341 | print_facename (sl, *d); |
338 | send_packet (sl); |
342 | send_packet (sl); |
339 | |
343 | |
340 | if (EMI_smooth) |
344 | if (EMI_smooth) |
341 | { |
345 | { |
342 | faceinfo *f = face_info (facenum); |
|
|
343 | |
|
|
344 | if (f->smooth) |
346 | if (f->smooth) |
345 | { |
347 | { |
346 | send_face (f->smooth); |
348 | send_face (f->smooth); |
347 | |
349 | |
348 | packet sl ("smooth"); |
350 | packet sl ("smooth"); |