mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-29 13:20:35 +00:00
Crash fix
This commit is contained in:
parent
1affa497d5
commit
baa152328a
@ -414,7 +414,7 @@ namespace NifOsg
|
||||
if (nifNode == NULL)
|
||||
nif->fail("First root was not a node, but a " + r->recName);
|
||||
|
||||
osg::Node* created = handleNode(nifNode, false, std::map<int, int>(), 0, 0, false, textKeys);
|
||||
osg::ref_ptr<osg::Node> created = handleNode(nifNode, false, std::map<int, int>(), 0, 0, false, textKeys);
|
||||
return created;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user