Added .osg support for osgParticle::SmokeTrailEffect
This commit is contained in:
@@ -156,6 +156,10 @@ SOURCE=..\..\..\src\osgPlugins\osgParticle\IO_SmokeEffect.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\src\osgPlugins\osgParticle\IO_SmokeTrailEffect.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\src\osgPlugins\osgParticle\IO_FireEffect.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
@@ -24,6 +24,7 @@ CXXFILES =\
|
||||
IO_SectorPlacer.cpp\
|
||||
IO_SegmentPlacer.cpp\
|
||||
IO_SmokeEffect.cpp\
|
||||
IO_SmokeTrailEffect.cpp\
|
||||
IO_FireEffect.cpp\
|
||||
IO_ExplosionEffect.cpp\
|
||||
IO_ExplosionDebrisEffect.cpp\
|
||||
|
||||
28
src/osgPlugins/osgParticle/IO_SmokeTrailEffect.cpp
Normal file
28
src/osgPlugins/osgParticle/IO_SmokeTrailEffect.cpp
Normal file
@@ -0,0 +1,28 @@
|
||||
|
||||
#include <osgParticle/SmokeTrailEffect>
|
||||
|
||||
#include <osgDB/Registry>
|
||||
#include <osgDB/Input>
|
||||
#include <osgDB/Output>
|
||||
|
||||
bool SmokeTrailEffect_readLocalData(osg::Object &obj, osgDB::Input &fr);
|
||||
bool SmokeTrailEffect_writeLocalData(const osg::Object &obj, osgDB::Output &fw);
|
||||
|
||||
osgDB::RegisterDotOsgWrapperProxy SmokeTrailEffect_Proxy
|
||||
(
|
||||
new osgParticle::SmokeTrailEffect,
|
||||
"SmokeTrailEffect",
|
||||
"Object Node ParticleEffect SmokeTrailEffect",
|
||||
SmokeTrailEffect_readLocalData,
|
||||
SmokeTrailEffect_writeLocalData
|
||||
);
|
||||
|
||||
bool SmokeTrailEffect_readLocalData(osg::Object &, osgDB::Input &)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
bool SmokeTrailEffect_writeLocalData(const osg::Object &, osgDB::Output &)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
Reference in New Issue
Block a user