mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-19 02:41:35 +00:00
Remove unnecessary null check
This commit is contained in:
parent
72e5043eda
commit
78b1bbe130
1 changed files with 0 additions and 2 deletions
|
@ -49,8 +49,6 @@ namespace SceneUtil
|
||||||
return;
|
return;
|
||||||
|
|
||||||
osg::Node* node = &drawable;
|
osg::Node* node = &drawable;
|
||||||
if (!node)
|
|
||||||
return;
|
|
||||||
while (node->getNumParents())
|
while (node->getNumParents())
|
||||||
{
|
{
|
||||||
osg::Group* parent = node->getParent(0);
|
osg::Group* parent = node->getParent(0);
|
||||||
|
|
Loading…
Reference in a new issue