From 5ecc25540cdcf1ca33bd8cde56f08e35a7e23fc0 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sun, 13 Apr 2003 12:02:29 +0000 Subject: [PATCH] From Michael Gronager, changed apply(Sequence) to cast to an Group rather than a Switch which was a bug. --- include/osg/NodeVisitor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/osg/NodeVisitor b/include/osg/NodeVisitor index 3432c0162..5392343ec 100644 --- a/include/osg/NodeVisitor +++ b/include/osg/NodeVisitor @@ -221,7 +221,7 @@ class SG_EXPORT NodeVisitor : public virtual Referenced virtual void apply(PositionAttitudeTransform& node) { apply((Transform&)node); } virtual void apply(Switch& node) { apply((Group&)node); } - virtual void apply(Sequence& node) { apply((Switch&)node); } + virtual void apply(Sequence& node) { apply((Group&)node); } virtual void apply(LOD& node) { apply((Group&)node); } virtual void apply(Impostor& node) { apply((LOD&)node); } virtual void apply(ClearNode& node) { apply((Group&)node); }