Fixed a couple of problems with the NodeKit support.
This commit is contained in:
@@ -70,7 +70,7 @@ bool ParticleProcessor_writeLocalData(const osg::Object &obj, osgDB::Output &fw)
|
||||
{
|
||||
const osgParticle::ParticleProcessor &myobj = static_cast<const osgParticle::ParticleProcessor &>(obj);
|
||||
|
||||
fw.writeObject(*myobj.getParticleSystem());
|
||||
if (myobj.getParticleSystem()) fw.writeObject(*myobj.getParticleSystem());
|
||||
|
||||
fw.indent() << "enabled ";
|
||||
if (myobj.isEnabled())
|
||||
|
||||
Reference in New Issue
Block a user