1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-31 10:20:13 +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) void InventoryPreview::update(int sizeX, int sizeY)
{ {
mAnimation->runAnimation(0.0f);
mAnimation->forceUpdate(); 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))); mViewport->setDimensions (0, 0, std::min(1.f, float(sizeX) / float(512)), std::min(1.f, float(sizeY) / float(1024)));