1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 09:35:28 +00:00

Merge remote-tracking branch 'potatoesmaster/inventory-fix'

This commit is contained in:
Marc Zinnschlag 2013-11-13 13:55:24 +01:00
commit a8274e5c86
2 changed files with 4 additions and 1 deletions

View File

@ -253,6 +253,8 @@ namespace MWGui
void InventoryWindow::open()
{
mPtr = MWBase::Environment::get().getWorld()->getPlayer().getPlayer();
updateEncumbranceBar();
mItemView->update();

View File

@ -2167,6 +2167,7 @@ namespace MWWorld
void World::updateAnimParts(const Ptr& actor)
{
mRendering->updateAnimParts(actor);
if (actor.mCell && actor.mCell == mWorldScene->getCurrentCell())
mRendering->updateAnimParts(actor);
}
}