1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 22:23:51 +00:00

Fix character preview

This commit is contained in:
Chris Robinson 2013-02-22 11:16:00 -08:00
parent ecbf1568a1
commit b12c6a4c16

View file

@ -121,8 +121,8 @@ namespace MWRender
void InventoryPreview::update(int sizeX, int sizeY)
{
mAnimation->runAnimation(0.0f);
mAnimation->forceUpdate();
mAnimation->runAnimation(0.0f);
mViewport->setDimensions (0, 0, std::min(1.f, float(sizeX) / float(512)), std::min(1.f, float(sizeY) / float(1024)));