diff --git a/components/sceneutil/attach.cpp b/components/sceneutil/attach.cpp index b5e5d38444..c438e705d8 100644 --- a/components/sceneutil/attach.cpp +++ b/components/sceneutil/attach.cpp @@ -49,8 +49,6 @@ namespace SceneUtil return; osg::Node* node = &drawable; - if (!node) - return; while (node->getNumParents()) { osg::Group* parent = node->getParent(0);