From Marco Jez, updates to osgParticle, with integration of changes from Tom

Jolly.
This commit is contained in:
Robert Osfield
2004-03-17 20:31:55 +00:00
parent acf5a36c06
commit 3fea25a0a1
3 changed files with 119 additions and 52 deletions

View File

@@ -37,7 +37,7 @@ bool PSU_writeLocalData(const osg::Object &obj, osgDB::Output &fw)
{
const osgParticle::ParticleSystemUpdater &myobj = static_cast<const osgParticle::ParticleSystemUpdater &>(obj);
for (int i=0; i<myobj.numParticleSystems(); ++i) {
for (int i=0; i<myobj.getNumParticleSystems(); ++i) {
fw.writeObject(*myobj.getParticleSystem(i));
}