From Michael Gronager, changed apply(Sequence) to cast to an Group rather than

a Switch which was a bug.
This commit is contained in:
Robert Osfield 2003-04-13 12:02:29 +00:00
parent d43452fa7b
commit 5ecc25540c

View File

@ -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); }