mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 23:21:20 -04:00
Remove unnecessary null check
This commit is contained in:
parent
72e5043eda
commit
78b1bbe130
@ -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…
x
Reference in New Issue
Block a user