Fixed compile problems under VisualStudio6.0
This commit is contained in:
@@ -8,6 +8,9 @@
|
||||
|
||||
#include <osgUtil/CullVisitor>
|
||||
|
||||
|
||||
using namespace osg;
|
||||
|
||||
osgParticle::ParticleProcessor::ParticleProcessor()
|
||||
: osg::Node(),
|
||||
rf_(RELATIVE_TO_PARENTS),
|
||||
@@ -71,5 +74,5 @@ void osgParticle::ParticleProcessor::traverse(osg::NodeVisitor &nv)
|
||||
}
|
||||
|
||||
// call the inherited method
|
||||
osg::Node::traverse(nv);
|
||||
Node::traverse(nv);
|
||||
}
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Node>
|
||||
|
||||
using namespace osg;
|
||||
|
||||
osgParticle::ParticleSystemUpdater::ParticleSystemUpdater()
|
||||
: osg::Node(), t0_(-1)
|
||||
{
|
||||
@@ -33,5 +35,5 @@ void osgParticle::ParticleSystemUpdater::traverse(osg::NodeVisitor &nv)
|
||||
}
|
||||
t0_ = t;
|
||||
}
|
||||
osg::Node::traverse(nv);
|
||||
Node::traverse(nv);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user