… | |
… | |
172 | if (update_look) |
172 | if (update_look) |
173 | esrv_draw_look (pl->ob); |
173 | esrv_draw_look (pl->ob); |
174 | |
174 | |
175 | if (askface.empty ()) |
175 | if (askface.empty ()) |
176 | { |
176 | { |
177 | if (bg_scrub && !--bg_scrub) |
177 | if (bg_scrub && !--bg_scrub && enable_bg_scrub) |
178 | while (scrub_idx < faces.size () - 1) |
178 | while (scrub_idx < faces.size () - 1) |
179 | { |
179 | { |
180 | ++scrub_idx; |
180 | ++scrub_idx; |
181 | if (!faces_sent [scrub_idx]) |
181 | if (!faces_sent [scrub_idx]) |
182 | { |
182 | { |
… | |
… | |
196 | send_image (face); |
196 | send_image (face); |
197 | |
197 | |
198 | bg_scrub = BG_SCRUB_RATE; |
198 | bg_scrub = BG_SCRUB_RATE; |
199 | } |
199 | } |
200 | } |
200 | } |
|
|
201 | |