From b7a03980a9fec134d041ed1d0a98fc0ea2c270e9 Mon Sep 17 00:00:00 2001 From: Bo Svensson <90132211+bosvensson1@users.noreply.github.com> Date: Sun, 5 Sep 2021 10:05:11 +0000 Subject: [PATCH] attach.cpp [ci skip] --- components/sceneutil/attach.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/sceneutil/attach.cpp b/components/sceneutil/attach.cpp index b99eb81a47..07d1696189 100644 --- a/components/sceneutil/attach.cpp +++ b/components/sceneutil/attach.cpp @@ -52,7 +52,7 @@ namespace SceneUtil osg::Node* node = &drawable; for (auto it = getNodePath().rbegin()+1; it != getNodePath().rend(); ++it) { - osg::Group* parent = *it; + osg::Node* parent = *it; if (!filterMatches(parent->getName())) break; node = parent;