mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-03 17:37:18 +00:00
Remove unnecessary null check
This commit is contained in:
parent
72e5043eda
commit
78b1bbe130
@ -49,8 +49,6 @@ namespace SceneUtil
|
||||
return;
|
||||
|
||||
osg::Node* node = &drawable;
|
||||
if (!node)
|
||||
return;
|
||||
while (node->getNumParents())
|
||||
{
|
||||
osg::Group* parent = node->getParent(0);
|
||||
|
Loading…
Reference in New Issue
Block a user