@ -167,7 +167,7 @@ class NiAutoNormalParticlesData : public ShapeData
public:
int numParticles;
float particleSize;
float particleRadius;
int activeCount;
@ -180,7 +180,7 @@ public:
// Should always match the number of vertices
numParticles = nif->getUShort();
particleSize = nif->getFloat();
particleRadius = nif->getFloat();
activeCount = nif->getUShort();
if(nif->getInt())
@ -1543,7 +1543,8 @@ class NIFObjectLoader : Ogre::ManualResourceLoader
vertprop, zprop, specprop,
wireprop, needTangents));
partsys->setDefaultDimensions(particledata->particleSize, particledata->particleSize);
partsys->setDefaultDimensions(particledata->particleRadius*2.0f,
particledata->particleRadius*2.0f);
partsys->setCullIndividually(false);
partsys->setParticleQuota(particledata->numParticles);