diff --git a/VisualStudio/osg/osg.dsp b/VisualStudio/osg/osg.dsp index 5290d9d4e..061509959 100755 --- a/VisualStudio/osg/osg.dsp +++ b/VisualStudio/osg/osg.dsp @@ -97,6 +97,10 @@ SOURCE=..\..\src\osg\AlphaFunc.cpp # End Source File # Begin Source File +SOURCE=..\..\src\osg\AutoTransform.cpp +# End Source File +# Begin Source File + SOURCE=..\..\src\osg\Billboard.cpp # End Source File # Begin Source File @@ -325,6 +329,10 @@ SOURCE=..\..\Include\Osg\AlphaFunc # End Source File # Begin Source File +SOURCE=..\..\Include\Osg\AutoTransform +# End Source File +# Begin Source File + SOURCE=..\..\Include\Osg\Billboard # End Source File # Begin Source File diff --git a/include/osg/NodeVisitor b/include/osg/NodeVisitor index 401383b18..b847edd83 100644 --- a/include/osg/NodeVisitor +++ b/include/osg/NodeVisitor @@ -15,8 +15,8 @@ class Billboard; class LightSource; class Group; class Transform; +class AutoTransform; class LOD; -class Sequence; class Switch; class Impostor; class EarthSky; @@ -141,8 +141,8 @@ class SG_EXPORT NodeVisitor : public Referenced virtual void apply(Group& node) { apply((Node&)node); } virtual void apply(Transform& node) { apply((Group&)node); } + virtual void apply(AutoTransform& node) { apply((Group&)node); } virtual void apply(Switch& node) { apply((Group&)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(EarthSky& node) { apply((Group&)node); } diff --git a/src/osg/Makefile b/src/osg/Makefile index d5c8fb43e..48d7b0205 100644 --- a/src/osg/Makefile +++ b/src/osg/Makefile @@ -3,6 +3,7 @@ include $(OSGHOME)/Make/makedefs C++FILES = \ AlphaFunc.cpp\ + AutoTransform.cpp\ Billboard.cpp\ BoundingBox.cpp\ BoundingSphere.cpp\ @@ -67,6 +68,7 @@ TARGET_LIB_FILES = lib$(TARGET_BASENAME).$(SO_EXT) TARGET_INCLUDE_FILES = \ osg/Notify\ osg/AlphaFunc\ + osg/AutoTransform\ osg/Billboard\ osg/BoundingBox\ osg/BoundingSphere\ diff --git a/src/osgUtil/CullVisitor.cpp b/src/osgUtil/CullVisitor.cpp index 466190655..ea9018bb3 100644 --- a/src/osgUtil/CullVisitor.cpp +++ b/src/osgUtil/CullVisitor.cpp @@ -61,7 +61,6 @@ class PrintVisitor : public NodeVisitor virtual void apply(Group& node) { apply((Node&)node); } virtual void apply(Transform& node) { apply((Group&)node); } virtual void apply(Switch& node) { apply((Group&)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); }