diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-06-08 16:45:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-06-08 16:45:02 +0300 |
commit | 59ce7917ffb4e6b89593a54fed590d439585ae5f (patch) | |
tree | 11d90e2d3a39141736967bae18d685ce075557e3 /src/particleemitter.cpp | |
parent | 3c7ec0569a4fce157e608021133bdc6cac679c10 (diff) | |
download | manaplus-59ce7917ffb4e6b89593a54fed590d439585ae5f.tar.gz manaplus-59ce7917ffb4e6b89593a54fed590d439585ae5f.tar.bz2 manaplus-59ce7917ffb4e6b89593a54fed590d439585ae5f.tar.xz manaplus-59ce7917ffb4e6b89593a54fed590d439585ae5f.zip |
Temporary restore imageset leaks for testing.
Diffstat (limited to 'src/particleemitter.cpp')
-rw-r--r-- | src/particleemitter.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/particleemitter.cpp b/src/particleemitter.cpp index ad67d622b..592d9b078 100644 --- a/src/particleemitter.cpp +++ b/src/particleemitter.cpp @@ -210,7 +210,7 @@ ParticleEmitter::ParticleEmitter(xmlNodePtr emitterNode, Particle *target, logger->log1("Error: no valid imageset"); continue; } - mTempSets.push_back(imageset); +// mTempSets.push_back(imageset); // Get animation frames for_each_xml_child_node(frameNode, propertyNode) @@ -294,7 +294,7 @@ ParticleEmitter::ParticleEmitter(xmlNodePtr emitterNode, Particle *target, logger->log1("Error: no valid imageset"); continue; } - mTempSets.push_back(imageset); +// mTempSets.push_back(imageset); // Get animation frames for_each_xml_child_node(frameNode, propertyNode) @@ -439,6 +439,7 @@ ParticleEmitter & ParticleEmitter::operator=(const ParticleEmitter &o) ParticleEmitter::~ParticleEmitter() { +/* for (std::list<ImageSet*>::iterator i = mTempSets.begin(); i != mTempSets.end(); ++i) @@ -447,6 +448,7 @@ ParticleEmitter::~ParticleEmitter() (*i)->decRef(); } mTempSets.clear(); +*/ if (mParticleImage) { |