OpenSim crash fixes, thx to Henri and Zauber
This commit is contained in:
@@ -4375,10 +4375,13 @@ BOOL LLViewerWindow::rawSnapshot(LLImageRaw *raw, S32 image_width, S32 image_hei
|
||||
if (high_res)
|
||||
{
|
||||
send_agent_pause();
|
||||
if (show_ui || !hide_hud)
|
||||
{
|
||||
//rescale fonts
|
||||
initFonts(scale_factor);
|
||||
LLHUDText::reshape();
|
||||
}
|
||||
}
|
||||
|
||||
S32 output_buffer_offset_y = 0;
|
||||
|
||||
@@ -4501,7 +4504,7 @@ BOOL LLViewerWindow::rawSnapshot(LLImageRaw *raw, S32 image_width, S32 image_hei
|
||||
LLPipeline::sShowHUDAttachments = TRUE;
|
||||
}
|
||||
|
||||
if (high_res)
|
||||
if (high_res && (show_ui || !hide_hud))
|
||||
{
|
||||
initFonts(1.f);
|
||||
LLHUDText::reshape();
|
||||
|
||||
Reference in New Issue
Block a user