|
|
|
@ -839,8 +839,6 @@ class NIFObjectLoader
|
|
|
|
|
vertprop, zprop, specprop,
|
|
|
|
|
wireprop, needTangents));
|
|
|
|
|
|
|
|
|
|
partsys->setDefaultDimensions(particledata->particleRadius*2.0f,
|
|
|
|
|
particledata->particleRadius*2.0f);
|
|
|
|
|
partsys->setCullIndividually(false);
|
|
|
|
|
partsys->setParticleQuota(particledata->numParticles);
|
|
|
|
|
partsys->setKeepParticlesInLocalSpace(partflags & (Nif::NiNode::ParticleFlag_LocalSpace));
|
|
|
|
@ -856,6 +854,8 @@ class NIFObjectLoader
|
|
|
|
|
{
|
|
|
|
|
const Nif::NiParticleSystemController *partctrl = static_cast<const Nif::NiParticleSystemController*>(ctrl.getPtr());
|
|
|
|
|
|
|
|
|
|
partsys->setDefaultDimensions(partctrl->size, partctrl->size);
|
|
|
|
|
|
|
|
|
|
if(!partctrl->emitter.empty())
|
|
|
|
|
{
|
|
|
|
|
int trgtid = NIFSkeletonLoader::lookupOgreBoneHandle(name, partctrl->emitter->recIndex);
|
|
|
|
|