diff --git a/src/osgWrappers/osgShadow/ShadowTechnique.cpp b/src/osgWrappers/osgShadow/ShadowTechnique.cpp index 38fe71991..367f1dc44 100644 --- a/src/osgWrappers/osgShadow/ShadowTechnique.cpp +++ b/src/osgWrappers/osgShadow/ShadowTechnique.cpp @@ -15,6 +15,7 @@ #include #include #include +#include // Must undefine IN and OUT macros defined in Windows headers #ifdef IN @@ -65,8 +66,8 @@ BEGIN_OBJECT_REFLECTOR(osgShadow::ShadowTechnique) __void__update__osg_NodeVisitor_R1, "run the update traversal of the ShadowedScene and update any loca chached data structures. ", ""); - I_Method1(void, cull, IN, osg::NodeVisitor &, nv, - __void__cull__osg_NodeVisitor_R1, + I_Method1(void, cull, IN, osgUtil::CullVisitor &, cv, + __void__cull__osgUtil_CullVisitor_R1, "run the cull traversal of the ShadowedScene and set up the rendering for this ShadowTechnique. ", ""); I_Method0(void, cleanSceneGraph, diff --git a/src/osgWrappers/osgShadow/ShadowVolume.cpp b/src/osgWrappers/osgShadow/ShadowVolume.cpp index 1666f89f1..698f2e26c 100644 --- a/src/osgWrappers/osgShadow/ShadowVolume.cpp +++ b/src/osgWrappers/osgShadow/ShadowVolume.cpp @@ -14,6 +14,7 @@ #include #include #include +#include // Must undefine IN and OUT macros defined in Windows headers #ifdef IN @@ -60,8 +61,8 @@ BEGIN_OBJECT_REFLECTOR(osgShadow::ShadowVolume) __void__update__osg_NodeVisitor_R1, "run the update traversal of the ShadowedScene and update any loca chached data structures. ", ""); - I_Method1(void, cull, IN, osg::NodeVisitor &, nv, - __void__cull__osg_NodeVisitor_R1, + I_Method1(void, cull, IN, osgUtil::CullVisitor &, cv, + __void__cull__osgUtil_CullVisitor_R1, "run the cull traversal of the ShadowedScene and set up the rendering for this ShadowTechnique. ", ""); I_Method0(void, cleanSceneGraph,