EXT-2110 - Help -> Abuse Report produces noticeable 3-10 second hang

Only happens with small windows because of some code that does font resizing on high res. Changed the scale factor threshold to cover vast majority of cases.
master
Steve Bennetts 2009-11-16 16:18:59 -08:00
parent 63192ae2b9
commit 32fd8fa087
1 changed files with 1 additions and 1 deletions

View File

@ -3944,7 +3944,7 @@ BOOL LLViewerWindow::rawSnapshot(LLImageRaw *raw, S32 image_width, S32 image_hei
return FALSE ;
}
BOOL high_res = scale_factor > 1.f;
BOOL high_res = scale_factor >= 2.f; // Font scaling is slow, only do so if rez is much higher
if (high_res)
{
send_agent_pause();