mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 03:45:32 +00:00
Fix missing particles caused by shallow copy of ParticleSystemController
This commit is contained in:
parent
9b27ec4945
commit
706ac45c76
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ namespace SceneUtil
|
|||
|
||||
osgParticle::ParticleProcessor* CopyOp::operator() (const osgParticle::ParticleProcessor* processor) const
|
||||
{
|
||||
osgParticle::ParticleProcessor* cloned = osg::clone(processor, osg::CopyOp::SHALLOW_COPY);
|
||||
osgParticle::ParticleProcessor* cloned = osg::clone(processor, osg::CopyOp::DEEP_COPY_CALLBACKS);
|
||||
mMap[cloned] = processor->getParticleSystem();
|
||||
return cloned;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue