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:
parent
ecbf1568a1
commit
b12c6a4c16
@ -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)));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user