1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-28 19:21:04 +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)));