All your codebase are belong to us.

This commit is contained in:
Drake Arconis
2014-08-22 00:15:09 -04:00
parent 2a64c07215
commit 948ebe5213
110 changed files with 661 additions and 611 deletions

View File

@@ -590,7 +590,7 @@ void LLPreviewTexture::updateDimensions()
client_width = getRect().getWidth() - horiz_pad;
if (mAspectRatio > 0.f)
{
client_height = llround(client_width / mAspectRatio);
client_height = llmath::llround(client_width / mAspectRatio);
}
else
{
@@ -608,7 +608,7 @@ void LLPreviewTexture::updateDimensions()
if (client_height > max_height)
{
client_height = max_height;
client_width = llround(client_height * mAspectRatio);
client_width = llmath::llround(client_height * mAspectRatio);
}
}
else