mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 09:23:53 +00:00
Fix exception moving a disabled object between cells
This commit is contained in:
parent
c63ab673e1
commit
01e32aef79
1 changed files with 2 additions and 0 deletions
|
@ -297,6 +297,8 @@ void RenderingManager::rotateObject(const MWWorld::Ptr &ptr)
|
|||
void
|
||||
RenderingManager::updateObjectCell(const MWWorld::Ptr &old, const MWWorld::Ptr &cur)
|
||||
{
|
||||
if (!old.getRefData().getBaseNode())
|
||||
return;
|
||||
Ogre::SceneNode *child =
|
||||
mRendering.getScene()->getSceneNode(old.getRefData().getHandle());
|
||||
|
||||
|
|
Loading…
Reference in a new issue