Files
OpenSceneGraph/src/osgPlugins/osgParticle/IO_ExplosionDebrisEffect.cpp
Robert Osfield d0c9ef1e14 Added the ability for osgParticle::ParticleEffect to switch off the automatic setup.
Normally the automatic setup is useful, but in the case of the .osg support this automatic
update was forcing premature loading of imagery that wasn't necessarily, and can lead to
reports of looking for files that arn't present.
2005-11-18 17:04:55 +00:00

29 lines
772 B
C++

#include <osgParticle/ExplosionDebrisEffect>
#include <osgDB/Registry>
#include <osgDB/Input>
#include <osgDB/Output>
bool ExplosionDebrisEffect_readLocalData(osg::Object &obj, osgDB::Input &fr);
bool ExplosionDebrisEffect_writeLocalData(const osg::Object &obj, osgDB::Output &fw);
osgDB::RegisterDotOsgWrapperProxy ExplosionDebrisEffect_Proxy
(
new osgParticle::ExplosionDebrisEffect(false),
"ExplosionDebrisEffect",
"Object Node ParticleEffect ExplosionDebrisEffect",
ExplosionDebrisEffect_readLocalData,
ExplosionDebrisEffect_writeLocalData
);
bool ExplosionDebrisEffect_readLocalData(osg::Object &, osgDB::Input &)
{
return false;
}
bool ExplosionDebrisEffect_writeLocalData(const osg::Object &, osgDB::Output &)
{
return false;
}